CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    17

    How to import *.h, *.cpp, *.rc.. to Visual Studio

    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.


  2. #2
    Join Date
    May 1999
    Posts
    67

    Re: How to import *.h, *.cpp, *.rc.. to Visual Studio

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured