.EXE Issues

This is a discussion on .EXE Issues within the Windows Programming forums, part of the Platform Specific Boards category; How do I make my .exe work on other computers? (I'm using .NET)...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    2

    Question .EXE Issues

    How do I make my .exe work on other computers?
    (I'm using .NET)

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826

    Re: .EXE Issues

    Originally posted by SpankyTheWalrus
    How do I make my .exe work on other computers?
    (I'm using .NET)
    What do you mean "work on other computers"? If it's a stand alone executable, compiled in Windows, then any Windows PC should be able to use it, assuming you're not linking to some required DLLs or the like. If you mean other operating systems, then the best you can get is to make portable code (not using any system specific libraries or system calls), and then recompile it on different platforms.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    Like ones running Linux for example?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    2

    Re: Re: .EXE Issues

    Originally posted by quzah
    What do you mean "work on other computers"? If it's a stand alone executable, compiled in Windows, then any Windows PC should be able to use it, assuming you're not linking to some required DLLs or the like. If you mean other operating systems, then the best you can get is to make portable code (not using any system specific libraries or system calls), and then recompile it on different platforms.

    Quzah.
    I meant other computers using a Windows OS.
    I don't know if it's linked to required .dll files or not. How do you find out? And if it is, how would you create a .exe for it?
    Thank you.

  5. #5
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    (I'm using .NET)
    If you're using managed code or any of the .NET classes, your .exe file requires you to install the .NET redistributable DLL on any target machines.

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, 10:09 AM
  3. .exe size with MinGW
    By Stabbsy in forum C++ Programming
    Replies: 3
    Last Post: 11-16-2006, 05:07 AM
  4. Changing program from .cpp to .exe
    By BIt_toRreNt in forum C++ Programming
    Replies: 6
    Last Post: 02-16-2005, 03:24 PM
  5. Problem creating .exe files
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 03-22-2002, 01:25 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21