using wine to use some Windows DLLs in a Mac app?

Questions about Wine on macOS.
Locked
rallymax
Newbie
Newbie
Posts: 1
Joined: Thu Feb 07, 2013 3:22 pm

using wine to use some Windows DLLs in a Mac app?

Post by rallymax »

I'm porting my Windows Native program to Mac Native.

But... I have to use a chunk of code that is only available as a Windows DLL - and I don't have source so I can't recompile it.
That binary-only DLL imports advapi32.dll, comdlg32.dll, kernel32.dll, shell32.dll & user32.dll.

... so I figured that "wine" would be a great fit since the loading of PECOFF and the mimicing of those system dlls has been done.

How would I go about adding wine source to my project to load that DLL, understanding the Exports as well as loading its Imports?

I have the binary-only dll's static library to automatically incorporate the DLL in the Windows version of this application if that helps.

thx

rallymax
Locked