Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

header windows.h in macintosh

Status
Not open for further replies.

nacho4d

Programmer
May 9, 2007
1
JP
I want to recompile a source file on my macintosh, but the original code is using windows.h and comctrl.h wich are 2 headers that Macintosh OS does not support.

I want to know if there is another library i can use instead of windows.h and comctrl.h or a similar and make some changes in the code.

I have investigated but I am not sure how useful could it be if I use a conditional compilation and include unistd.h header.



Actually is a Nintendo DS emulator source code and I want to re-compile it in order to have a Nintendo DS for Macintosh.
 
If the only thing which comctrl was used for was say an "open file" dialog, then you might have a fairly easy time.

But if there are masses of windows specific functions scattered all through the code base, then this will be a lot of hard work.

As for choosing an API, there are lots.

This is a big list across many platforms.

Though if you're going to do it at all, you might consider a cross-platform toolkit like


--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top