Thanks for your replies. I forgot about ARM. Apple just stresses that the iPhone uses the same OSX that's already in use on other Macs. I tried building only on Mac without MS Windows using winelib, but I wasn't good enough. So I resorted to installing VMware Fusion on the Mac, MS Windows in Fusion, and VC++ 6.0 in MS Windows as the API was intended to be used, and was able to run the exe with Wine directly on the Mac. Maybe I'll give winelib another try. There was/(is?) Darwine for Power PC processors. It would be nice if Wine could run on ARM. Regarding the licensing as I understand, if I'm able to go the winelib route, I'd also have to provide object files, "If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it."? Regards.