NO

Author Topic: Developing for WIN32 and WIN-CE  (Read 3060 times)

champ

  • Guest
Developing for WIN32 and WIN-CE
« on: February 18, 2008, 02:30:10 PM »
Hello,

currently I am writing a small application that should run on my laptop as well as on my PDA. I have written the application using the WIN32-wizard. Now I am trying to use "clever" ifdef's to select the platform. However, I have not yet managed to compile th application for an ARM processor :-(

Therefore two questions:
1) What do I have to change (which includes, which statements and especially which project settings)?
2) Is this a clever way to do it (or is there an easier way)?

Thanks and best regards

Martin

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Developing for WIN32 and WIN-CE
« Reply #1 on: February 27, 2008, 05:59:23 PM »
This is a bit tricky within the same project, but should be doable using two projects - one for 'Win32' and one for 'WinCE', referencing the same source file(s)... (compiler settings, linker settings, and especially folder settings will be different, so changing them back and forth within the same project will be tedious - better to have two projects going...).
/Pelle