How to tell VC++ .Net to include 3rd party header files and libs
Posted on 2005-05-16
The last time I used a C++ compiler, I used Borland C++, where I was in full control of telling it what the include directories were and what libs to link in. Now that I'm using VC++ .Net, I'm somewhat confused as to where to start. I have a 3rd party library in c:\id3 with subdirectories include and lib, and lets say the filenames are id3.h and id3.lib. Now how do I tell VC++ .Net to look there for files?
Also, where do I put the #include statement, in the form.h or form.cpp file?
It seems odd to me that if I add a button to a form, then go to add code to the click event, VC++ wants to put code in a form.h, and not form.cpp