I want to change the value returned dwBuildNumber - it always returns zero,
eventhough the value is assigned CE_BUILD_VER which is 54 in
WINCE500\Public\Common\SDK\INC\bldver.h I have also assigned it a value of
124 in the function GetVersionEx in the file
WINCE500\PRIVATE\WINCE0S\COREOS\CORE\DLL\apis.c.
I then do a build and sysgen in platform builder. I have Clean before build
enabled
None of these changes show up when I run a little app i wrote
the major and minor version show up ok but the buildNumber is always 0
sample code used.
What am I doing wrong?
OsVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
GetVersionEx(&OsVersionInfo);
wsprintf(sz, TEXT("OS Maj=%d Min=%d Id=%d build=%d\r\n"),
OsVersionInfo.dwMajorVersion,
OsVersionInfo.dwMinorVersion, OsVersionInfo.dwBuildNumber);
statusMessage(sz);