windows32 pre-compilation flag

I'm looking for pre-compilation flag for windows32.

is this the right definition?

#ifdef _WIN32
...
...
#endif
LVL 1
ofirgAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Roshan DavisConnect With a Mentor Commented:
Yes.
0
 
ofirgAuthor Commented:
who's define it?
0
 
Roshan DavisCommented:
That already defined in WinDef.h
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Roshan DavisCommented:
Sorry,
You have to made a different define and use that instead of _WIN32,

thats the better...
0
 
ofirgAuthor Commented:
who's define it?
0
 
Roshan DavisCommented:
You have to define it in "Settings" of your project or in stdafx.h

Do not define _WIN32 any another name like yourprojectprefix_WIN32
0
All Courses

From novice to tech pro — start learning today.