C++ - how to refer any header file from a dll while loading throu loadLibrary ?
-
Hi I m trying to load the dll using LoadLibrary which works fine. But for one of the method paramter is an object of class which is refered inside the dll . So in this case in my client app how do i refer the .h file which is already refered in the dll inside ? As i m trying to link dynamically how does header file references are dealt with ? Thanks
-
Hi I m trying to load the dll using LoadLibrary which works fine. But for one of the method paramter is an object of class which is refered inside the dll . So in this case in my client app how do i refer the .h file which is already refered in the dll inside ? As i m trying to link dynamically how does header file references are dealt with ? Thanks
DavJes wrote:
So in this case in my client app how do i refer the .h file
The same way as any header file is referenced; either add it to your project or add the location to the list of
include
directories. If you are saying that you do not have access to the header file, then you have a problem.I must get a clever new signature for 2011.