[fpc-pascal] how to convert C++ header to fpc

Dennis Poon dennis at avidsoft.com.hk
Thu Aug 14 17:31:33 CEST 2014


I don't know much about c++ and but I got this dll with the following 
header that I need to use its dll.


#define SPDLLCALL __stdcall

typedef void (SPDLLCALL *LoginReplyAddr)(long ret_code, char *ret_msg);

typedef void (SPDLLCALL *p_SPAPI_RegisterLoginReply)(LoginReplyAddr addr);


#endif

Can anyone kind enough to teach me how to translate them into pascal 
interface?

Thanks a lot.

Dennis



More information about the fpc-pascal mailing list