Sorry if this has been asked before, but I didn't come up with anything in my search. Does anyone use a compiler besides one of Microsoft's when working with PF / PH?
Non-Microsoft Compilers
Eric, assuming you mean for PPC development I think just about everyone uses a M$ compiler. There's no good reason to look elsewhere and the support you will get here on PM for these compilers is a real bonus. I use VC6++ (mostly) & eVC3++ (for final testing)
Several times in the past couple of days I've seen people mention writing in VC++. Is there something special you have to do for that? Will a program written in VC++ and compiled in eVC++ 3.0 work fine on WM2003 / WM2003SE?
The program will work fine on all the various O/S versions. The two things I need to do are:-
1. files, for PC development the path is c:/whatever while for PocketPC it's //whatever// so I use #ifdef to sort that out and
2. when using chars you need to go for all the _T TCHAR equivalents so that your functions work on PC and PocketPC. This method allows you to code away on PC building and testing and only every so often testing on the PocketPC. Lots of talk about this area in the forum so do a search.
The big pitfall for me is not testing PocketPC often enough as VC6++ deals with a lot of things that eVC++ does not so uninitialised variables might get 0 on PC & -7484874564 on PPC. The PC version appears to work but PPC crashes.
eg:
1. files, for PC development the path is c:/whatever while for PocketPC it's //whatever// so I use #ifdef to sort that out and
2. when using chars you need to go for all the _T TCHAR equivalents so that your functions work on PC and PocketPC. This method allows you to code away on PC building and testing and only every so often testing on the PocketPC. Lots of talk about this area in the forum so do a search.
The big pitfall for me is not testing PocketPC often enough as VC6++ deals with a lot of things that eVC++ does not so uninitialised variables might get 0 on PC & -7484874564 on PPC. The PC version appears to work but PPC crashes.
eg:
- Code:
_itot(s_probes,keystr,10);