Thread: [Tutorial] Deploying VC++ 2005 Express Apps

  1. #1
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071

    [Tutorial] Deploying VC++ 2005 Express Apps

    I decided to write a tutorial on application deployment with VC++ 2005 Express. I figured it'd be nice to have this info all in one place for people. The idea came from ulillillia's thread, and from the frusturation caused in my own exprience with the subject.

    Linkage

    Criticism welcome.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    I didn't see anything about just statically linking to the runtime library so you don't have to distribute anything. Did I miss it? Or am I wrong about what you have to do?

  3. #3
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    Perhaps posting some screenshots would help. I could get some if needed since I have the express version. I have Windows XP Pro SP2.

  4. #4
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071
    Quote Originally Posted by Daved
    I didn't see anything about just statically linking to the runtime library so you don't have to distribute anything. Did I miss it? Or am I wrong about what you have to do?
    Statically linking didn't even occur to me. When I had to do this, I was using C++CLI, which doesn't allow you to statically link against the CRT. I believe there are other scenerios where you may want or need to link dynamically as well.

    I'll add this to the tutorial when I get the chance.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    Ok.

    There's a major difference between using C++/CLI and just regular C++. VC++ 2005 is not terribly intuitive when you're just trying to write standard C++ code, though, so even helping people through that is a good idea.

  6. #6
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071
    Updated tutorial with necessity clarification.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  7. #7
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    By the way, it took me some time to understand the first sentence, mainly because of an unfortunate typographical error: "those of use" should be "those of us".
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  8. #8
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071
    Quote Originally Posted by laserlight
    By the way, it took me some time to understand the first sentence, mainly because of an unfortunate typographical error: "those of use" should be "those of us".
    Oops, missed that one. Fixed now, thanks .
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VS 2008 Express with 2005 PSDK
    By Mario F. in forum Tech Board
    Replies: 2
    Last Post: 10-11-2008, 12:29 PM
  2. Replies: 1
    Last Post: 07-19-2007, 11:47 PM
  3. Linker errors with 2005 Express
    By thetinman in forum Windows Programming
    Replies: 4
    Last Post: 12-30-2006, 09:04 AM
  4. Help: Microsoft Visual Basic 2005 Express Editon
    By karlawarla in forum Windows Programming
    Replies: 5
    Last Post: 11-22-2006, 02:46 PM
  5. Visual C++ 2005 Express Edition
    By BestGameMovie in forum C++ Programming
    Replies: 6
    Last Post: 05-15-2005, 01:49 PM