Made that change and now im getting an error trying to compile :/
error C2440: '=' : cannot convert from 'FARPROC' to 'MAKECRC'
on line:
makeCRC=GetProcAddress((HMODULE)hLib, "makeCRC");
Type: Posts; User: evilpope
Made that change and now im getting an error trying to compile :/
error C2440: '=' : cannot convert from 'FARPROC' to 'MAKECRC'
on line:
makeCRC=GetProcAddress((HMODULE)hLib, "makeCRC");
I am pretty positive it has to do with passing the pointer because I can modify the function and pass ints just fun, but as soon as I try to pass a pointer I get the buffer overrun. I'm stumped.
ups
it's not the sprintf call, i can take it out of the code completely and it still crashes...
Im trying to pass a pointer to a string to a dll loaded at runtime so that i can modify the value of the string from the dll however I am getting buffer overruns. If anyone could shed some light on...
ah, thank you very much
I have written a program along with a 'plugin' type dll, but im confused on how exactly I go about returning a string from a function inside of the dll. I understand that I need to use a pointer,...