Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am creating a vb.net windows desktop application. In this application, in order to apply GUID, I am refering a VC++ COM dll. I would like to ask two clarifications.

1) Once completed the application development, I would like to run the vb.net application in some other PC. Is it enough to have the VC++ COM dll only in the application folder or I have to add the .cpp and .h files also?

2) Generally, while developing an windows application, under which folder we have to keep the dlls and refer?

Your answer will be much helpful for me.

Thanks,
Sivakumar.M.
Posted

1 solution

I am assuming that you are using Visual Studio.

Create a Reference to the DLL you want to use, and then VS will handle moving the file around as required while developing.

When you deploy, the best place to put the DLL is probably your application folder. Check the library documentation to see how it should be deployed, as it may need to be registered.

You don't have to include the source files (*.cpp and *.h) to make it work. However, if you are using a third-party library, the license may insist that you do so.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900