I am writting a code with MSVC++ and I want to use a dll file in my C++ program.
I have to load a function from dll file whose return type is a pointer to a struct that has been defined in that dll and I need to access that struct during my program.
I guess there should be a way to load a struct from dll file as well (something like GetProcAddress for loading functions). Can anybody help me with the way to load struct into my program?
any help is greatly appreciated,