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