>    Excuse the newbie question, but I haven't been able to find anything
> which references this topic in either the documentation or the mailing
> list archives.
> 
>    I have a (closed-source, commercial) DLL which I purchased as part of a
> software library.  It contains several COM objects which have functions
> that I want to access.  In Windows, this is done by having the classwizard
> generate a bunch of gobblygook MFC code.  The code fleshes out all the
> functions that I want to call in the library, looking like this:

... MFC gunk deleted...

> I suppose it would be far to much to ask for something as simple as
> dlopen()/dlsym()/dlclose(), so my questions are:
> 
> Can I access the functions within this DLL through WINE?

Hmm. You can always do:

        HMODULE hmod = LoadLibrary("YourLibrary.DLL");
        DWORD   (CALLBACK *functype)(DWORD param1,DWORD param2);

        func = (void*)GetProcAddress(hmod,"Func1");

        ret = func(1,2);

But about the MFC wrappers... Don't know.

Ciao, Marcus

Reply via email to