Click here to Skip to main content
16,015,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMap lookup Pin
David Crow13-May-05 2:21
David Crow13-May-05 2:21 
GeneralRe: CMap lookup Pin
rgchezhian13-May-05 2:37
rgchezhian13-May-05 2:37 
GeneralRe: CMap lookup Pin
Jack Puppy13-May-05 13:28
Jack Puppy13-May-05 13:28 
GeneralRe: CMap lookup Pin
rgchezhian14-May-05 21:16
rgchezhian14-May-05 21:16 
GeneralRe: CMap lookup Pin
Jack Puppy14-May-05 22:20
Jack Puppy14-May-05 22:20 
GeneralRe: CMap lookup Pin
Jack Puppy13-May-05 2:30
Jack Puppy13-May-05 2:30 
GeneralRe: CMap lookup Pin
rgchezhian13-May-05 2:35
rgchezhian13-May-05 2:35 
QuestionHow to judge window server 2003 and 64-bit OS? Pin
>|Gaara|<12-May-05 23:11
>|Gaara|<12-May-05 23:11 
Confused | :confused: Could someone help me?
First, i use the GetVersionEx function get the OS information.
But for the window server 2003 and 64-bit XP professional,the dwMajorVersion are both 5, and dwMinorVersion are both 2, i found a code snippet at microsoft's website. It is show that :
switch (osvi.dwPlatformId)
{
// Test for the Windows NT product family.
case VER_PLATFORM_WIN32_NT:

// Test for the specific product.
if ( osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2 )
printf ("Microsoft Windows Server 2003, ");
//you can view the whole code on
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/detecting_a_product_suite.asp[^]
//here judge the windows server 2003 through the flag VER_PLATFORM_WIN32_NT.
But i found that in 64-bit XP OS, the flag also is VER_PLATFORM_WIN32_NT.
So what should i do to judge the two OS? windows server 2003 and 64-bit XP OS.

>|Gaara|<: boku ha jiben shika aimasen.
AnswerRe: How to judge window server 2003 and 64-bit OS? Pin
>|Gaara|<15-May-05 14:25
>|Gaara|<15-May-05 14:25 
GeneralHANDLE, DWROD please help newbiew Pin
afil654512-May-05 21:59
afil654512-May-05 21:59 
GeneralRe: HANDLE, DWROD please help newbiew Pin
Priyank Bolia12-May-05 22:14
Priyank Bolia12-May-05 22:14 
GeneralRe: HANDLE, DWROD please help newbiew Pin
CP Visitor13-May-05 2:19
CP Visitor13-May-05 2:19 
GeneralRe: HANDLE, DWROD please help newbiew Pin
Bob Stanneveld12-May-05 22:29
Bob Stanneveld12-May-05 22:29 
QuestionHi,a Dialog program insert flash file,but it runing error? Pin
tomenzi12-May-05 21:45
tomenzi12-May-05 21:45 
AnswerRe: Hi,a Dialog program insert flash file,but it runing error? Pin
toxcct12-May-05 22:46
toxcct12-May-05 22:46 
GeneralRe: Hi,a Dialog program insert flash file,but it runing error? Pin
tomenzi12-May-05 23:02
tomenzi12-May-05 23:02 
GeneralRe: Hi,a Dialog program insert flash file,but it runing error? Pin
toxcct12-May-05 23:04
toxcct12-May-05 23:04 
GeneralRe: Hi,a Dialog program insert flash file,but it runing error? Pin
tomenzi12-May-05 23:49
tomenzi12-May-05 23:49 
GeneralQuestion: Adding a progress bar in status bar using Win32 API Pin
lxcid12-May-05 21:11
lxcid12-May-05 21:11 
GeneralRe: Question: Adding a progress bar in status bar using Win32 API Pin
Jack Puppy12-May-05 22:38
Jack Puppy12-May-05 22:38 
GeneralRanges of an unsigned _int64 Pin
fardak12-May-05 20:53
fardak12-May-05 20:53 
GeneralRe: Ranges of an unsigned _int64 Pin
Graham Bradshaw12-May-05 21:18
Graham Bradshaw12-May-05 21:18 
GeneralRe: Ranges of an unsigned _int64 Pin
cmk12-May-05 21:31
cmk12-May-05 21:31 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak12-May-05 23:09
fardak12-May-05 23:09 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends13-May-05 9:45
professionalPJ Arends13-May-05 9:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.