S
safaci2000
Hi all,
I have a DLL that I need to access. I've managed to load it and
unload it successfully. The compiler is happy no complaints or
warning.
I need to refer to a class object that was defined in the class, and
I'm not sure how to go about it.
I understand that if I need to call a function I'd need to call
GetProcAddress(hDll,"funcFoo"); that would return a pointer to the
function and then I'd use the pointer to address the function inside
of my program.
what would I need to do to refer to the Dll, types.
If I was in a regular C++ program, I would be doing something like
ClassFoo.Host myhost; // assuming Host if an internal class, is
public and is well defined.
How would I be able to do that if my class Foo is defined inside the
dll?
I have a DLL that I need to access. I've managed to load it and
unload it successfully. The compiler is happy no complaints or
warning.
I need to refer to a class object that was defined in the class, and
I'm not sure how to go about it.
I understand that if I need to call a function I'd need to call
GetProcAddress(hDll,"funcFoo"); that would return a pointer to the
function and then I'd use the pointer to address the function inside
of my program.
what would I need to do to refer to the Dll, types.
If I was in a regular C++ program, I would be doing something like
ClassFoo.Host myhost; // assuming Host if an internal class, is
public and is well defined.
How would I be able to do that if my class Foo is defined inside the
dll?