ddfr@quads.uchicago.edu (david director friedman) (09/09/90)
Does anyone have suggesting for products useful in porting C programs between the Mac and the PC? In particular, I am wondering if there are libraries available that convert Mac toolbox calls into something the PC can handle. David Friedman DDFr@Midway.UChicago.Edu
kevind@pogo.WV.TEK.COM (Kevin Draz) (09/11/90)
In article <1990Sep9.151541.2573@midway.uchicago.edu> ddfr@quads.uchicago.edu (david director friedman) writes: > >Does anyone have suggesting for products useful in porting C programs >between the Mac and the PC? In particular, I am wondering if there >are libraries available that >convert Mac toolbox calls into something the PC can handle. > I would suggest you look into the MicroSoft "SDK" (Software Development Kit) for Windows 3.0. It runs with MSC 5.1 or 6.0. Windows is about the only graphics environment I know of which is similar to the Mac OS and QuickDraw. Even these will require some effort to port, however, due to many different factors, CPU, compiler, etc. Another approach might be to put AUX (Mac's System V Unix) on the Mac, and AIX (IBM's System V Unix) or Xenix on the PC, if it is big enough (e.g, 386/486). Lastly, you could work from the Macintosh MPW shell using ANSI standard library functions, which behave pretty much alike in MSC 5/6, MPW 3.0, and Unix. This would not be a true Mac application, however. It is a "shell tool", sort of a vampire application which runs from the MPW shell, which is the "real" application here.