Slashdot Mirror


Programming With WineLib

paulydavis writes "The c/c++ users journal has an article about porting windows applications to Linux using Winelib. The article is a good tutorial on how to obtain winelib and how to use such things as the winebuild and the winemaker tool."

7 of 17 comments (clear)

  1. wxWindows by cpeterso · · Score: 5, Interesting


    Why not just avoid the Win32 APIs and use a cross-plpatform framework like wxWindows? You can built native Windows, Linux/Unix, and Mac GUI applications from the same source code. It's also been around for about 11 years.

  2. sure by sydlexic · · Score: 5, Informative

    that's a fine approach for 'new' applications, but this is a much faster approach for porting existing apps or using existing API skillsets.

  3. Re:Just dual boot for fucks sake. by tommten · · Score: 2, Funny

    I just love to spend the whole day watching bootscreens!
    it _so_ more productive than watching my favorite soapopera

    --
    - I choked on the red pill and now I'm stuck in limbo
  4. Re:Will this allow us to run Windows stuff nativel by t482 · · Score: 2, Insightful

    Its only usefully for porting software. You can create links and icons for each of your software - this works but takes some setup on your part. Or alternatively you can use vmware. (Win4Lin doesn't support DirectX very well). I haven't played with WineX - but that may also be a solution.

  5. Re:Will this allow us to run Windows stuff nativel by cide1 · · Score: 4, Informative

    There is a Wine daemon that can run and intercept a call from the shell or filemanager and make the appropriate wine calls invisible to the user. RedHat 8 has it on by default when you choose to install Wine. It is quite useful, because a binary is now a binary, no matter what is required to run it, the appropriate libraries and environment are automatically loaded.

    --
    -- the computer doesn't want any beer, no matter how much you think it does. NEVER, EVER feed your computer beer.
  6. Re:Will this allow us to run Windows stuff nativel by Metrol · · Score: 2, Interesting

    It is quite useful, because a binary is now a binary, no matter what is required

    Isn't there a teensy bit of a virus issue with doing something like this to a Linux box? Seems like it would be well worth the time to manually create shortcuts that launch Wine rather than just let any Windows code run unchecked.

    It's this kind of thing that got Windows in trouble with viruses in the first place.

    --
    The line must be drawn here. This far. No further.
  7. Re:Will this allow us to run Windows stuff nativel by Elwood+P+Dowd · · Score: 2, Interesting

    For that matter, just running linux applications unchecked would be just as dangerous. We should have a confirmation screen that makes sure you intend to be using /bin/ls and not /usr/bin/ls or /usr/local/bin/ls.

    Running code is dangerous. Your account privs must be in place. It doesn't matter if the app needed winelibs or not.

    --

    There are no trails. There are no trees out here.