adamfairs8110
Programmer
Hi,
I'm having problems accessing a struct in a dll file using C++.
I have successfully loaded the DLL, and loaded and called some of the functions using LoadLibrary and GetProcAddress. However, there is an insert function that I am having difficulties with that requires a struct to be passed into it. This struct is defined within a file in DLL and must be populated before passed to the insert function.
I've looked for a similar function to GetProcAddress to use. I've also tried including the file within the DLL that defines the struct.
This one's got me completely banjaxed.
I'd appreciate any help at all.
Thanks,
Adam
I'm having problems accessing a struct in a dll file using C++.
I have successfully loaded the DLL, and loaded and called some of the functions using LoadLibrary and GetProcAddress. However, there is an insert function that I am having difficulties with that requires a struct to be passed into it. This struct is defined within a file in DLL and must be populated before passed to the insert function.
I've looked for a similar function to GetProcAddress to use. I've also tried including the file within the DLL that defines the struct.
This one's got me completely banjaxed.
I'd appreciate any help at all.
Thanks,
Adam