Malte Starostik <malte(a)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). -- Alexandre Julliard julliard(a)winehq.com
On Thursday 17 October 2002 23:44, Alexandre Julliard wrote:
Malte Starostik <malte(a)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). Yes, I just came accross LoadLibraryEx() failing on it. Thanks for the info, will probably save quite some debugging time :-) -Malte
On Thu, Oct 17, 2002 at 02:44:09PM -0700, Alexandre Julliard wrote:
Malte Starostik <malte(a)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
participants (3)
-
Alexandre Julliard -
Andreas Mohr -
Malte Starostik