Can't load native dll

Andriy Palamarchuk apa3a at
Thu Apr 25 10:11:44 CDT 2002

Lawson, are you able to load winelib dll from winelib

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;

    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,

    return 0;
$ cp /usr/local/lib/ ./
$ ./test ./ 
/./test ./
arg 0: /./test/
arg 1: /./
err:module:MODULE_LoadLibraryExA Loading of native DLL
F:\prj\wine_test\ failed (error 193),
check this file.
handle 0 last error 193


Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

More information about the wine-users mailing list