Advertisement

win32 question

Started by February 10, 2001 06:49 AM
0 comments, last by sb 23 years, 9 months ago
What is the differance between for ex. DevmodeA and devmodeW. What does the A and W mean? Wich should I use? Thanks in advance /sb
A is for ascii characters. W is for wide characters. It''s for dealing with unicode, its declared something like this:

typedef struct
{
stuff
}DevmodeA;
typedef struct
{
wide character stuff
}DevmodeW;

#ifdef UNICODE
typedef DevmodeW Devmode;
#else
typedef DevmodeA Devmode;
#endif

which means all you have to do is use Devmode and windows will take care of the rest while compiling.

This topic is closed to new replies.

Advertisement