Thread: VC++.NET & Win32API & OpenGL

  1. #1
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345

    VC++.NET & Win32API & OpenGL

    I'm thinking of getting VC++.NET, a i want to ask a question, do Win32API code for VC++ 6 and OpenGL code work with VC++.NET without modifications? and if so, is .NET runtime required for running VC++.NET compiled binaries?

    EDIT: I almost forgot, I use MFC too, so are there any changes? or my already written code will compile?
    The reason I'm asking is that my brother wants to buy it, and I may pay a part of the price so we both can use it :/
    Last edited by glUser3f; 08-18-2003 at 09:52 AM.

  2. #2
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    VC++.NET is backwards compatible with VC6 etc, so no worries there. However, I don't think the reverse is true - once you have loaded a VC6 project into .NET, you can no longer work on it in VC6.

    .NET runtime is not required for pure Visual C++ applications, or MFC applications, only web-enabled applications that use the .net framework, and you know when you are using this as you have to define it in your code.

    MFC has more functions, but the older functions are still there.

  3. #3
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    thx for the info
    I actually got it a few hours ago, everything works well, but I couldn't figure out how to add libraries to the linker, in VC++ I used to go to project settings but I couldn't find something similar here.
    Another question, how can I start an MFC project without adding like 10 files to it? I want an empty MFC project.
    Man the new IDE rox!
    thanks again

  4. #4
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    Solution Explorer
    Right click your project
    Click "properties"
    Click "linker"
    Click "input"
    Type something into the "Additional dependencies" box.

    For an empty MFC project;

    "New project" from start page
    "Win32 Project"
    "Application settings"
    Tick "Empty project" and click "Finished".
    Then ask for MFC support by editing project options.

  5. #5
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    thank you very much )

  6. #6
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    sorry for this, but looks like I don't have such options!
    check out the screenshot.
    could it be a different version of vc++?

  7. #7
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    just figured out that i should have clicked on the project name, I found the dialog you mentioned, but when i click on input I don't get anything to the right, in fact nothing changes the right side of the dialog, it's always empty
    any ideas?

  8. #8
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    Unfortunately, that is something that I have never come across - there has always been a listing in that box. Which VS.net are you using? I'm using the 2003 one here (Visual C++ 7.1).

  9. #9
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    I guess it's older that 2003, I'll tell my brother to get the most recent version.
    I still have no idea how he managed to get an older version
    thanks anyway

  10. #10
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    The only way I can think of getting an older version is by either buying it second hand, or by downloading it from some site.

  11. #11
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    most probably he got them second hand, the installation set didn't look like something downloaded off the net.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Difference in MSVC 6 & MS VC .Net
    By passionate_guy in forum C Programming
    Replies: 1
    Last Post: 01-23-2006, 06:39 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. Porting code from VC++6 to VC .NET??
    By dug in forum C++ Programming
    Replies: 10
    Last Post: 01-31-2005, 11:42 AM
  4. Hmmm ...Win32API, MFC, .NET..which one?
    By Jubba in forum Windows Programming
    Replies: 2
    Last Post: 08-14-2003, 05:21 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM