6 //#include "../includes/DietHEP.h"
9 typedef enum { dh_stdcall, dh_ccall } DH_CALLCONV;
10 typedef int DH_MODULE;
11 typedef char* DH_LPCSTR;
14 extern DH_MODULE DH_LoadLibrary ( DH_LPCSTR modname );
16 extern void* DH_GetProcAddress ( DH_CALLCONV cconv,
18 DH_LPCSTR lpProcName );
21 int main ( int argc, char** argv )
27 hModule = DH_LoadLibrary("Dh_Demo"); /* note no .hs */
29 proc = DH_GetProcAddress ( dh_ccall, hModule, "wurble" );