‎02-25-2002 03:37 PM
‎02-26-2002 11:23 AM
‎02-27-2002 03:07 AM
‎08-12-2008 11:07 AM
‎01-06-2009 02:55 PM
In case anybody still wants this information:
If you're doing it in a C++ project/.cpp file, you must use BOTH extern "C" AND __cdecl to use the C calling convention:
extern "C" MgErr __cdecl CINRun (...)
Hope this helps.
‎06-17-2011 09:40 AM - edited ‎06-17-2011 09:46 AM
Did you mean to do this?
#ifdef __cplusplus
extern "C" {
#endif
CIN MgErr __cdecl CINRun(int32 *hWnd);
#ifdef __cplusplus
}
#endif