Thread: .exe excution help

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    3

    .exe excution help

    Well i am not sure it this question belongs here but o well, sorry if it doesn't, look i am using visual c++ 2005 express edition beta. My problem is when i try to use the .exe file i get after compiling the program i wrote on another computer it get an error that says i am missing parts of the application or something. All i have in the folder is the .exe, so do i need to include more files from my program or something?

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    I don't expect the fact you're using a beta development environment helps too much.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Saying that MS VS .NET 2005 should be a good buy - I'm already saving for the pro version which will be around $600 (so £350 ish for me).
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    You're missing some DLLs on that "other computer" I bet. Are the Windows versions the same? Check out the EXE's dependencies.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  5. #5
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Try making sure everything is statically linked (I know that Borland C++ Builder would not do this by default -- at least in old versions -- VC++ may very well be the same). You should be able to find this information in compiler documentation.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  6. #6
    Banned
    Join Date
    Jun 2005
    Posts
    594
    if the program was compiled in visual studio, and is managed
    then it needs the dot net framework, to work right.

    but i woudl think if you have visual studio on thsi computer taht it
    should be installed. so the first one prolly right, your missing
    some other dll file or something.

  7. #7
    Registered User
    Join Date
    Jul 2005
    Posts
    100
    Quote Originally Posted by ahluka
    Saying that MS VS .NET 2005 should be a good buy - I'm already saving for the pro version which will be around $600 (so £350 ish for me).
    Wow is it really worth the money?

  8. #8
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Yes extremely so. Once you spend £1800 (about $3500) on their best version - Enterprise Architect - you'll see why. £350 for a Microsoft IDE is a pittance; Microsoft's IDE's are absolutely second to none.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  9. #9
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  10. #10
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    MSDN subscription may be a viable alternative to just the compiler. Can work out better value than just the compiler alone.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  11. #11
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Talking of MSDN, I (used to) hate the way the MSDN Library documented everything on the assumption the reader is a prolific programmer who understands everything and everything to do with everything programming related. I found hard to refer to it when I was learning.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  12. #12
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Quote Originally Posted by blankstare77
    Wow is it really worth the money?
    That really depends on what you plan to do. If you will be using .NET and all of the feeatures of the IDE, then, for a professional programming outfit, it'd be worth it. $2500 seems a bit much to spend if programming is just a hobby (at least to me).

    Also, consider that a lot of commercial software is compiled with GCC, and GDB is used for debugging. (For editing, there are plenty of options.) So, you don't have to spend a fortune for the tools to put out good programs (granted, of course, that the tools are nothing without the programming ability, the design, etc).

    Cheers
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fopen can't open .exe?
    By fanoliv in forum C Programming
    Replies: 11
    Last Post: 04-05-2011, 03:24 PM
  2. Replies: 13
    Last Post: 12-09-2008, 11:09 AM
  3. .exe size with MinGW
    By Stabbsy in forum C++ Programming
    Replies: 3
    Last Post: 11-16-2006, 06:07 AM
  4. Changing program from .cpp to .exe
    By BIt_toRreNt in forum C++ Programming
    Replies: 6
    Last Post: 02-16-2005, 04:24 PM
  5. Problem creating .exe files
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 03-22-2002, 02:25 PM