Thread: Windows Programs With MSVC++ 2005

  1. #1
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341

    Windows Programs With MSVC++ 2005

    I downloaded Microsoft Visual C++ 2005 Express Edition, but I didn't use it much. It doesn't come ready for windows developement. Does anyone know where I can download the templates to create windows applications?
    Don't quote me on that... ...seriously

  2. #2

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Or even a couple of posts up in the Windows Programming Links tagged to the top of this board.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Correction: It doesn't come ready for MFC programming. It certainly can do Win32 code.

  5. #5
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    Thanks. I was searching for a template but appearently even with the Platform SDK you don't get a template, just an extra option for console applications. So that explains why I wasn't getting any results.
    Don't quote me on that... ...seriously

  6. #6
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Quote Originally Posted by Bubba View Post
    Correction: It doesn't come ready for MFC programming. It certainly can do Win32 code.
    No, it actually can't do Win32 code, because the Platform SDK isn't distributed with it. You have to download and install it separately.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  7. #7
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    Visual C++ 2005 Express can indeed compile Win32 code, but it requires downloading the SDK (note: huge download - 250 MB if I recall correctly, not bad on 4 Mbps DSL, but horrible on dial-up (that's about 20 or so hours of constant downloading on dial-up)). Not only that, but VC++ also needs some tweaking as mentioned in the second link on the second post. I'm using VC++ and it's compiling Win32 code just fine, unless, of course, I have a syntax error or something like that that prevents compiling.

  8. #8
    Registered User
    Join Date
    Mar 2007
    Posts
    32
    I've downloaded and promptly got fed-up with MS VC++. When I tried to show a simple message box it gave me errors because i was using 'real' C++! They want managed or CLR stuff, and it's so Object orientated that it's like learning C++ all over again because you don't know the names of the classes.

    *Rant over :P*

  9. #9
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    You created the wrong project type. You need to avoid all project types that contain "CLI" or "CLR" or ".Net" or "Managed". A plain Win32 Application, with the Empty Project checkbox enabled, is the way to go.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  10. #10
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    I've got it up and running and I'm quite pleased with it. ( I had it running a while ago, but didn't update because the thread seemed dead)
    Don't quote me on that... ...seriously

  11. #11
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    VC++ is the way to go if you are developing commercial applications. The other compilers are ok for non-commercial or in-house stuff, but there are too many impossible to predict run-time issues with them to make it worth the risk.

  12. #12
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    *blinks*
    Um, I'm aware of quite a lot of commercial software being compiled with GCC, Intel CC, SunCC and others.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  13. #13
    C++ Newbie
    Join Date
    Nov 2005
    Posts
    49
    He probably meant that if your compiling on the Windows platform, you should use Microsoft's own compiler.

    Although Microsoft's own software have been known to break a larger Microsoft software from time to time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MSVC 2005 problem
    By l2u in forum Windows Programming
    Replies: 1
    Last Post: 05-13-2006, 05:30 PM
  2. C++ For Text Editor?
    By bmroyer in forum C++ Programming
    Replies: 12
    Last Post: 04-05-2005, 02:17 AM
  3. Windows programs with no output
    By sean in forum Windows Programming
    Replies: 2
    Last Post: 02-23-2003, 07:19 PM
  4. Folder Password Programs (Windows)?
    By johnc in forum C Programming
    Replies: 8
    Last Post: 07-18-2002, 06:39 AM
  5. Problem with Borland 5.5 Compiling Windows Programs
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 08-28-2001, 09:04 AM