All my life I’ve been a PC with the small exceptions of using and programming on Apple ][ and playing with a Quadra for a little while. I started windows programming with Windows 3.0 and am still a windows programmer. While I found nothing wrong with the Windows experience, one day the inevitable happened and I got myself an iPhone.
I enjoy the smoothness and responsiveness of the user interface on the iPhone and the huge variety of applications available, so I started thinking about doing some programming for the iPhone myself. Why not – I enjoy programming and thought it would be fun to do so.
One day I started digging on how to get started and found out that the compiler available is for Mac OS X only, which for me was a challenge as at home I only have Windows machines. A friend switched recently to Mac and loves the experience, so after much consideration I decided to get a Mac and try it out.
Two days ago it arrived in a small shiny box, a brand new MacBook Pro 13″. I was very excited and started playing right away with it, but it was not as easy as I imagined, so I decided to try to document my experience.
Stay tuned to learn what happened …
After dealing with all errors given the compiler and having compiled several of our modules I started looking for the compiler warnings and chasing them down. In this article and will try to show some of the warnings that I encountered and how he dealt with them.
Links:
Migration from Visual C++ 6.0 to 2005 – Part I
Migration from Visual C++ 6.0 to 2005 – Part II
Read more…
Continuing my previous article about my struggling with porting some code to VC8.0 this article shows some more of the changes we had to do in order to make our code to compile in both visual C++ 6.0 and 8.0 a.k.a. 2005.
Links:
Migration from Visual C++ 6.0 to 2005 – Part I
Migration from Visual C++ 6.0 to 2005 – Part III
Read more…
In the last few days I’ve been trying to evaluate what would take to port our applications from visual C++ 6.0 to 8.0 a.k.a. 2005. I was not overly concerned, because the projects I’m trying to convert are server side applications having no graphical user interface.
I started by converting one of the project files and trying to compile it with Visual C++2005. I started getting myriad of warnings and errors and figured that cleaning up everything will not be so easy. The first step was to get he code to compile without errors and later on clean up the warnings. I went to the project settings and disabled all warnings and tried to compile again. This time the output from the compiler was a little more manageable and here are some changes that had to be done in order to preserve compilability in both compilers during the transition period.
Links:
Migration from Visual C++ 6.0 to 2005 – Part II
Migration from Visual C++ 6.0 to 2005 – Part III
I will start with some of the very obvious ones. Read on it gets interesting…
Read more…