Can't load native dll
Andriy Palamarchuk
apa3a at yahoo.com
Thu Apr 25 10:11:44 CDT 2002
Lawson, are you able to load winelib dll from winelib
application?
I get the same error whenever I try to do it:
$ cat test.c
#include <stdio.h>
#include <win.h>
int main(int argc, char **argv)
{
int i;
HMODULE h;
DWORD le;
printf("/%s/\n",GetCommandLine());
for (i = 0; i < argc; i++)
printf("arg %d: /%s/\n", i, argv[i]);
h = LoadLibrary(argv[1]);
le = GetLastError();
printf("handle %ld last error %ld\n", (long int)h,
le);
return 0;
}
$ cp /usr/local/lib/libmsimg32.so ./libmsimg32_2.so
$ ./test ./libmsimg32_2.so
/./test ./libmsimg32_2.so/
arg 0: /./test/
arg 1: /./libmsimg32_2.so/
err:module:MODULE_LoadLibraryExA Loading of native DLL
F:\prj\wine_test\libmsimg32_2.so failed (error 193),
check this file.
handle 0 last error 193
Andriy
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
More information about the wine-users
mailing list