can VC++ create a MAC version
-
hello, I have created an application that works fine on Windows .How can I port this application for MAC
-
hello, I have created an application that works fine on Windows .How can I port this application for MAC
To answer the topic question, no I don't believe Visual Studio can compile for Mac execution. It may be a hidden feature but not one I'm aware of. Given MS dislike for Apple I don't imagine they'd make software that can support Apple hardware. For a little side note lesson, one which you may already know, the main reason program execution can't be directly taken from one machine to another ( Intel -> Apple, Apple -> Alpha, etc ) is because of the CPU architechture. The CPU internals just work differently which is why code needs to be ported rather than just copied over. If you're using ANSI standard C++ ( nothing unique to .NET, Windows environment, DirectX, etc ) all you need to do is copy the the source code and build it on a Mac with a C++ development suite. I'm not familiar with Mac development so I can't recommend a good Mac IDE. Being as .cpp and .h files are just strict ASCII text files they're universally recognizable so you should be able to just copy them straight across. If you are using Windows unique code, DirectX, or anything like that, you'll have to replace those sections with Mac compliant code. As far as I know there's no way around this. The question "Do computers think?" is the same as "Can submarines swim?" Signature Red Studios Jeryth
-
hello, I have created an application that works fine on Windows .How can I port this application for MAC
you can't, well, not easilly ... you will probably need to recode most/all of the UI, rewrite most/all file access routines, and probably graphic thingies ( if you doing things like that ). and if you use Objective-C, then, I think you will need to do A LOT OF WORK doing bridges between Objective-C and C++.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
hello, I have created an application that works fine on Windows .How can I port this application for MAC
-
hello, I have created an application that works fine on Windows .How can I port this application for MAC
In VC++ 4.0 with MFC 4.0 you could cross-platform develop for Win and Mac (using MFC), but AFAIK that feature hasn't been included in any newer MS VC compilers. Cheers Steen. "To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
-
In VC++ 4.0 with MFC 4.0 you could cross-platform develop for Win and Mac (using MFC), but AFAIK that feature hasn't been included in any newer MS VC compilers. Cheers Steen. "To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
Visual C++ 4 did provide cross compilation. Only for Mac OS 7 till 9, never for anything beyond. It is secretly believed that Micrsoft did continue development on a Mac version of their new compilers but none of them were available to the public. If you target Mac OS X, it is impossible to use this compiler. You will have to revert to other tools. If you target the older platform (minority of Mac users now), you can still use that compiler but the native mac tools are much better. I did a couple of years back a project where we started with Visual C++ cross compilation and we ended up migrating to Metrowerks. For mac cross compilation, you need both machines sitting next to each other (same appletalk network). Given the difference in quality of current compilers on all platforms compared with the old Visual C++ 4, I strongly recommend you to seek native solutions when compiling for the Mac. For Mac OS X, the development tools from Apple are free. Good luck, and drop me a line at macchess at internetcontact.be if this helped.