Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Initializing c++ dll

r_dallmann
Beginner
653 Views
Hi,

I would appreciate any help on how to translate the initializing of
a c++ dll to fortran-code.
The c++ code is

hmod=LoadLibrary("ZeeGrid");
RegZeeGridClass=(_RegZGClass)GetProcAddress(hmod,"RegZGClass");
RegZeeGridClass(hInst,_ZREGNAME,_ZREGCODE);

The corresponding section in the .h-file is as follows

EXTERN_C ATOM RegZGClass(HINSTANCE hInstance,char* Registree, char* code);
typedef ATOM (*_RegZGClass)(HINSTANCE,char*,char*);
_RegZGClass RegZeeGridClass;

Thank you very much in advance

Raimond
0 Kudos
0 Replies
Reply