how to maintain code for both OS i.e. Windows CE and Windows 2000

  • Thread starter Thread starter Shrikant
  • Start date Start date
S

Shrikant

hello cWorld
I want to write code in VC7 , but that should run for both the operating
systems windows 2000 and windows CE.
Actualy I want to keep two different statements of code for these OS. I want
do it by putting then under IF ELSE statement.
Is there any way to do this.
If any one can help me, that will be very helpfull for me.
regards,

Shrikant Chikhalkar
Product Engineer,
Manchitra Services Pvt. Ltd.,
New Delhi, INDIA
Off: +91 11-26232696 / 26232798
Mob: 9871116066
(www.manchitra.com)
 
Shrikant said:
hello cWorld
I want to write code in VC7 , but that should run for both the
operating systems windows 2000 and windows CE.
Actualy I want to keep two different statements of code for these OS.
I want do it by putting then under IF ELSE statement.
Is there any way to do this.
If any one can help me, that will be very helpfull for me.
regards,

In C++|preprocessor settings you define "UNDER_CE"

#ifdef UNDER_CE
// WinCE-Code
#else
// Normal Win-Code
#endif


--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp


Do you need daily reports from your server ?
http://sourceforge.net/projects/srvreport/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top