In this case there is only one input parameter and it is unsigned char of C++ part that the imported function is implemented and when I call this function I pass variable of type byte that is equivalent of unsigned char
C++ code:
extern "C"__declspec(dllexport)void StartLogging(unsigned char...
Dear Sirs
I have a problem to importing procedure from Visual C++ 6.0 dynamic link library:
1. In my Delphi project i do define the imported function as:
StartLogging:procedure(AData: byte);cdecl{$IFDEF WIN32} stdcall {$ENDIF};
2. StartLogging:=GetProcAddress(Handle, 'StartLogging');
Handle -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.