Home > Back-end >  C # parse the DLL file
C # parse the DLL file

Time:10-06

This is a c + + code:
API_NET char * __stdcall NET_VODGetFileList (LONG lUserID, char * strParam);
C # the custom code:
[DllImport (" lib \ \ StsdNetSdk DLL, "CharSet=CharSet. Ansi)]
Public extern static String NET_VODGetFileList (long lUserID, String stVodList);
Call:
String t="";
VideoLib.NET _VODGetFileList (123 t);
At fault:
In the DLL lib \ StsdNetSdk DLL "" find the entry point, called" NET_VODGetFileList"

CodePudding user response:

C + + has no export code

CodePudding user response:

 extern "C" __declspec (dllexport) int __stdcall INIT (); 

CodePudding user response:

You remove the this definition API_NET, change to be upstairs,
  • Related