Click to See Complete Forum and Search --> : Add a Library to my project.


raulbolanos
April 30th, 2009, 06:57 AM
Hi guys I got this problem;

I need some company .dll COM file to open my program (some VISA's concerns) and I have the dll but I cannot add or at least I dont know how to do it...

I want to leave this file within my project because some other libraries dependence of it.

After wards I want to make and Setup (I did but I still need this extra .dll COM library), and then the User wont need to add any library manually, everything will be included within the SETUP file.

Actually I get this error. Unable to load DLL '...': The specified module could not be found. (Exception from HRESULT: 0x8007007E)


Any idea?

jasonli
April 30th, 2009, 04:02 PM
You want the dll library to call your program, or want your program to call the dll library?

If you want to call dll library, add it to your project as reference. the dll file will be copied to your project output folder and stay with exe file.