Sign in to follow this  
Marty666

include from MSVC# 6.0 editors include folder

Recommended Posts

Hi all. I created a .cpp and a .h file which i'd like to use in more programs. I placed these files in the \VC98\Include\ folder, but i get unresolved external errors. It seems like the compiler can't find the .cpp file. Should i copy it to every program? Guess there is a better way. I don't want to make a .lib file, cause i want to be able to make changes while debugging. Please help. Marty

Share this post


Link to post
Share on other sites
Rather than putting it in microsoft's include directory, make your own, somewhere completely different and add the include directory using Tools->Options->Directories.

You'll have to add the cpp to every project unless you build a library.

You could build a library in its own project and add the project to your workspace. Then make your application depend upon the library project and it will re-link automatically when any changes are made.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this