Find the main winelib app with GetModuleHandle
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Fri Oct 18 02:55:47 CDT 2002
On Thu, Oct 17, 2002 at 02:44:09PM -0700, Alexandre Julliard wrote:
> Malte Starostik <malte at kde.org> writes:
>
> > Check if the name passed to GetModuleHandle() is the name
> > of the main executable. As those normally don't have an extension
> > ".DLL" was appended and the search failed.
>
> Actually you should give your executable a .exe extension, there are a
> number of places where we expect that (the Unix wrapper script doesn't
> need an extension of course, but the .so does).
Is there *anything* that we can do to automatically print a warning
message during some stage ? Would be quite helpful, don't'cha think ?
--
Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604 http://mohr.de.tt
More information about the wine-devel
mailing list