Results 1 to 6 of 6

Thread: VC++ compiler

  1. #1

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362

    VC++ compiler

    Is there a way to compile a projet (to distribute an exe to others ) in an other way that take the executable from de debug folder?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    First, compile in Release mode, then yeah, just copy the .exe
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Hyperactive Member
    Join Date
    Sep 2001
    Posts
    396
    Set in the Project setting to link statically, then compile in Release mode. Then it will run on any PC without VC.

    [talkative mode on]
    This is 1 advantage of VC over VB. That is also 1 of the reasons I switch to VC from VB. 3 years ago I made a 'dumb' VB program which I wanted to show off to my friends, it couldn't run on their PC as they do not have VB runtime. And they do not want to install VB runtime just to run my 'dumb' program.(They are not IT savvy people).
    [/talkative mode off]

  4. #4
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    Ahh, the pains of VB and the wonders of VC++.

    Btw, Daok, you might want to check the project settings before compiling. Some things there (especially compiling for fast/small code, using/not using runtimes, etc) might be important.

  5. #5

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362
    ok but I cannot not see any button to switch to "Release mod"...

  6. #6

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362
    Build > Set Active Configuration > Release

    I think it's that

    Thx you all!

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