Click to See Complete Forum and Search --> : How to import *.h, *.cpp, *.rc.. to Visual Studio


junpin Li
May 5th, 1999, 11:04 PM
I copied some sample codes from MSDN library. They are in *.h, *.cpp, *.rc files. There re no *.mdp, makefile, *.dsw files. I tried to add them to a project using add to project/files option and just can't get them to work (I can only compile one file which y cursor stops at). Is there any way to do this easily? Thanks.

Roland Seibert
May 6th, 1999, 01:00 AM
You must create an empty project using file application wizzard in VC++. Be shure that the project matches your code (this means 'console application' normal 'windows' programm 'dll' ...). Then you have to add your files using add toproject / files.

You also must be shure that your code defines a complete programm not only a component.

Hope this helps