Hi,
I try to use some functions coming from a DLL, but my problem is the "far pascal" call. Like this :
Header file
typedef short far pascal (* TMEX_GET_VERSION) (char far *);
extern TMEX_GET_VERSION Get_Version ;
...
*.cpp
Get_Version = (TMEX_GET_VERSION) (GetProcAddress (hMainDLL, "Get_Version"));
this give me the following error
"far does not name a type"
Without the "far pascal" it's ok for the compiler and the linker ... but crash at execution time.