procedure p1(var p: pchar);procedure p2(p: ^pchar);
void p1(char** p); // or p2, no problem, both are the same
Have you tried using cdecl or stdcall instead of cppdecl ?
So I am not able to find a method crossplatform (win, linux) to get the odbc dsn and related information.
Quote from: xinyiman on June 29, 2010, 05:15:07 amSo I am not able to find a method crossplatform (win, linux) to get the odbc dsn and related information.ODBC is basically Windows only, although there are some Linux libs and other hacks made for it.If you really want to make a crossplatform application, why would you want to use ODBC?Juha
Exist on linux and unix-odbc work quite well. So I would not say that there are only on windows.
Really works very well, but I can not retrieve the DSN (on linux) and tables (on windows).