1 I download a vs wrote a DLL file
The first 2 has two method is void say the second is the void __stdcall says
3 I wrote a connection in the Java class
4 I this connection type of inheritance is stdcalllibrary
5 two jna jar is 5.2 version of the
6 so I can only call the first method is the second call is error method to find the
7 etren C I also wrote
Please some expert told me this is what circumstance
CodePudding user response:
The function in the DLL should be exported C way, not C + + exportCodePudding user response:
The first is the void say the second is the void __stdcall saysThe compiler of the function name modified, you can remove __stdcall try, use the default C call way,
CodePudding user response: