Find the answer to your Linux question:
Results 1 to 7 of 7
Hi i need a simple solution for a simple problem. I have written a small win32.exe that i would like to run under a Live CD. I know that Wine ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    5

    Opening Win32.exe

    Hi

    i need a simple solution for a simple problem. I have written a small win32.exe that i would like to run under a Live CD. I know that Wine is emulating Windows but i can't get it working with Knoppix - Wine tries to download components but actually there is no internet connection. (Why is Wine not using the existing Windows installation on the HD?)

    Knoppix is too heavy anyway, i think DSL will be nice. Is there an easy and fast way to get the .exe running?

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by voessli View Post
    Hi

    i need a simple solution for a simple problem. I have written a small win32.exe that i would like to run under a Live CD.
    Ok, if you've written the application yourself, why not just compile a Linux-native version rather than compiling it in MS Windows and then trying to emulate it?

    I know that Wine is emulating Windows...
    Actually, WINE is not emulating MS Windows. The name "WINE" means "WINE Is Not an Emulator." WINE simply offers translations for some commands issued by WIN32 programs so that Linux can understand them. It does not have a full OS behind it like an emulator such as VMWare or Parallels Desktop.

    (Why is Wine not using the existing Windows installation on the HD?)
    See my above answer. WINE does not "use" MS Windows at all. It has its own set of DLL files that it uses to translate system calls made by WIN32 applications into the appropriate Linux instructions.

    What sort of program is it that you've created?
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Posts
    5
    It is a simple programm compiled with Visual Basic 6. I dont know if the source code can be compiled to a Linux-native program, never done that. What compiler would you recommend?

    This is the little app
    zSHARE - 2form.exe

  4. #4
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    Well Gambas uses the VB Structure. though its still abit diffrent.
    VB uses Windows Dlls... sorry that I say this but the language is really really Dirty..

    My advice. when you go into linux.
    Learn C++, Perl, Python or Lisp ^^
    New Users, please read this..
    Google first, then ask..

  5. #5
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by voessli View Post
    It is a simple programm compiled with Visual Basic 6. I dont know if the source code can be compiled to a Linux-native program, never done that. What compiler would you recommend?
    Hmm, well you may run into a problem using Visual Basic. It's a very Microsoft Windows specific language that for the most part cannot be used on anything else. There are a few non-Windows implementations. GAMBAS, which has already been mentioned, is probably the furthest along.

    Is there a particular reason you developed this program in Visual Basic? I understand that it's easy for quick-and-dirty applications and proof of concept stuff, but for robust client applications I would recommend something like C++ or Java. The upside to these languages (aside from being much more standardized and feature-rich) is that programs written in C/C++ or Java will run on just about any operating system out there.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  6. #6
    Just Joined!
    Join Date
    Sep 2007
    Posts
    5
    Using Gambas i can compile code into an .exe that is running in Linux?

    Well, i never have installed sofware in Linux yet. Is there perhaps a Windows program that compiles an .exe for Linux?

  7. #7
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    lol, I dont think such a program exist..
    And I think there never will be.
    you can try to get Gambas running in Cygwin.
    But I dont think that will hold. and Installing software in linux aint that hard..
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...