search for: r_registerembeddedexecut

Displaying 1 result from an estimated 1 matches for "r_registerembeddedexecut".

2001 May 13
1
Dynamic C Symbols and Embedding Suggestion
...Windows case). You'll note the remarkable resemblance to AddDLL. :-) My test code calls this to set up its function list just after R_ReplDllinit() just before entering the do1-loop--- though perhaps this should be integrated into some part of the setup procedure for embedding apps. DllInfo* R_RegisterEmbeddedExecutable(HINSTANCE handle,char* path) { char* dpath,*name,DLLname[PATH_MAX], *p; DeleteDLL(path); if(CountDLL == MAX_NUM_DLLS) { strcpy(DLLerror,"unable to register embedded executable. too many libraries"); return 0; } dpath = malloc(strlen(path)+1); if(dpath == NULL) { str...