How do i create a common module, class, or library for use in multiple projects?

  • Thread starter Thread starter Brian Tkatch
  • Start date Start date
B

Brian Tkatch

Guest
I have some common code in two projects. I am now creating a third project and would like to have a common library for these functions, so the code is in one place and updating one updates the other upon recompilation. I don't know if this needs to be a DLL or can simply be a class or other form of common code included in each of the projects. I am envisioning a single text file in a separate directory until some well-meaning devil dashes my dream of simplicity. The aim right now is to write it for the third project and perhaps incorporate it into the other two at a later date if and when they require significant change.

How do i go about this? DLL, module, class? Separate file? Different directory? Copy to each project or include it in each one? And what option do i choose from the Visual Studio dialog? Create a new project? If so, which options? I think Visual Basic and Windows, but the third one...library?

Continue reading...
 
Back
Top