Displaying 1 result from an estimated 1 matches for "countdll".
Did you mean:
count_all
2001 May 13
1
Dynamic C Symbols and Embedding Suggestion
...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) {
strcpy(DLLerror,"Couldn't allocate space for 'path'");
return 0;
}
strcpy(dpath,...