Wonderful, that looks to be exactly what I need. I'll give it a try tomorrow and let you know how it goes.
Type: Posts; User: Gelid
Wonderful, that looks to be exactly what I need. I'll give it a try tomorrow and let you know how it goes.
I don't think linking to the lib file will be possible. It needs to support future plug-ins. But I will look into exporting the entire class. Thanks
I'm using Microsoft Visual Studio 6.0 and yes, I am exporting the function. If I wasn't I don't think dumpbin would list it as an exported function.
the function is: int TestPlugin::Type()
dumpbin tells me the name is ?Type@TestPlugin@@EAEHXZ
well, it depends on the interface of the function. For a function with no parameters i use
int (*func)(void) = (int(*)(void))GetProcAddress(hm,"FunctionName");
where hm is the handle to the...
I am designing a plug-in interface for a program. I can get the driver program to load the plug-in but when I try to access a function the function pointer value is NULL. I've gotten this to work...