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

2014-08-14 Thread Dennis Poon
Victor Matuzenko wrote: 14.08.2014 19:31, Dennis Poon пишет: 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 (SPDLLCAL

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

2014-08-14 Thread Victor Matuzenko
14.08.2014 19:31, Dennis Poon пишет: 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_RegisterLoginRep

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

2014-08-14 Thread Dennis Poon
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

Re: [fpc-pascal] SqlDB and MS SQL Server support

2014-08-14 Thread Marco van de Voort
Last night I googled some more. Conclusions: 1. the oledb.tlb isn't easy to find, but it does exist https://code.google.com/p/py-com-tools/source/browse/trunk/sdk-tlbs/?r=2 Maybe it is in the full platform SDK, but I didn't have that readily available. The result doesn't compile, it's only a si