Wine & viruses

2009-02-17 Thread Martin Hinner
Hi, I will start one more hot discussion. Sorry if it was discussed earlier, I am not regular reader of this mailing-list. I tried to search google, found several discussions, but no real result: http://www.linux.com/feature/42031 http://www.vnunet.com/vnunet/news/2116150/linux-experts-wine-vir

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-17 Thread Martin Hinner
On Tue, Feb 17, 2009 at 3:56 PM, Dan Kegel wrote: >> The above doesn't work ... LoadLibraryA fails (returns NULL). > > Aha, you're right. libwine is shipped as an .so, not as a .dll.so. > > But have a look at wine_dlopen and wine_dlsym, > http://source.winehq.org/source/libs/wine/loader.c#L677 >

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-17 Thread Martin Hinner
On Tue, Feb 17, 2009 at 3:34 PM, Dan Kegel wrote: > On Tue, Feb 17, 2009 at 4:35 AM, Martin Hinner wrote: >> Just to add few comments at once, the problem is solved for us >> (libwinegate.dll.so is shipped with the software, we'll have to >> recompile it when libwine/

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-17 Thread Martin Hinner
On Mon, Feb 16, 2009 at 12:14 PM, Francois Gouget wrote: >> From what I understand, they're not accessible to full win32 apps. > > FWIW, it's kernel32.wine_get_unix_file_name(). So it's available to any > Win32 application that knows about it. Just LoadLibrary()+GetProcAddress(). This is really n

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-15 Thread Martin Hinner
Detlef, On Sun, Feb 15, 2009 at 12:50 PM, Detlef Riekenberg wrote: > Just use this infos: > hdll = LoadLibraryA("libwine.dll"); > wine_dlopen = GetProcAdress(hdll, "wine_dlopen"); > wine_dlsym = GetProcAdress(hdll, "wine_dlsym"); > wine_dlclose = GetProcAdress(hdll, "wine_dlclose"); The LoadLibr

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-14 Thread Martin Hinner
VItaliy, On Sun, Feb 15, 2009 at 3:21 AM, Vitaliy Margolen wrote: > Depending on what you need to do it might be a good thing or might be a > complete no-go. Remember that Wine has an additional layer on top of system. > If you bypass it, you can potentially create lots and lots of problems. I u

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-14 Thread Martin Hinner
Ben, On Sat, Feb 14, 2009 at 7:10 AM, Ben Klein wrote: > 2009/2/14 Martin Hinner : > Wine is (or has been) working on a driver system to handle native > Windows USB device drivers via libusb, for things like printers and > scanners where there are no Linux-native drivers. This

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-14 Thread Martin Hinner
Dan, On Sat, Feb 14, 2009 at 7:44 AM, Dan Kegel wrote: > I'd been suggesting to ISVs that they create a single > winelib dll and conditionally load that if present, > but winegate.dll might be an appealing alternative. I think wine needs some universal library so as there is not 20 other ISV-spe

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-14 Thread Martin Hinner
On Sun, Feb 15, 2009 at 12:35 AM, Detlef Riekenberg wrote: > On Sa, 2009-02-14 at 05:39 +0100, Martin Hinner wrote: > Hi Martin. > Thanks for your interest in Wine. > I read your Mail, and my first impresion was: not needed > > After downloading winegate.tar.gz and reading the

Re: WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-13 Thread Martin Hinner
Hi, On Sat, Feb 14, 2009 at 6:31 AM, Ben Klein wrote: > 2009/2/14 Martin Hinner : >> Purpose of this Wine DLL is to allow Windows applications to use >> directly Unix library functions. This is useful for example for >> applications which talk to specific drivers and

WINEGATE.DLL: Wine gateway to native Unix libraries

2009-02-13 Thread Martin Hinner
Hello, I have created a small library to allow Win32 applications running under Wine to load native Unix shared libraries (.so). First (one-hour hack) version is available at http://martin.hinner.info/tmp/winegate.tar.gz ; Please consider inclusion in WINE tree (dll/ directory). Please note that

Re: First steps to make Win32 app running under Wine

2008-03-20 Thread Martin Hinner
On 3/20/08, Marcus Meissner <[EMAIL PROTECTED]> wrote: > Best bet is to just check for the registry key HKLM\Software\Wine I know also other methods, this is not a problem, I just wanted to ask if it's possible to get some "official wine api" for all this stuff. > > - load native Linux library a

First steps to make Win32 app running under Wine

2008-03-20 Thread Martin Hinner
Hi, I am solving problem how to get one Win32 app (for which I have source code) running under Wine. The biggest issue is drivers and ioctls. Linux has driver support for what we need and provides similar ioctls for some stuff, but it differs from Windows. The difference is *so big* that I w

Re: Getting apps running under Wine

2008-03-06 Thread Martin Hinner
Hi, > Please open a bug at our bugzilla (bugs.winehq.org). Attaching > screenshots of the problem would help. We discourage you from working > around Wine bugs, because if we fix the bug, we'll break your app in > the process. Better to fix Wine. I 100% agree, but I wasn't sure if wine team

Getting apps running under Wine

2008-03-03 Thread Martin Hinner
to communicate from "wined" application with some Linux program using technique other than TCP or Unix socket ? If no - is it possible to open Unix socket from our win app ? -- Martin Hinner http://martin.hinner.info http://www.auto-diagnostics.info