Solved

Q:How to judge OSR2 95 programmatically?

Posted on 1998-10-23
3
201 Views
Last Modified: 2010-04-02
I'm sorry for my bad English :-(
How can I judge a Windows 95 whether OSR2 one or a retail release version of Windows 95 programmatically?
0
Comment
Question by:ptiger
3 Comments
 
LVL 32

Expert Comment

by:jhance
Comment Utility
     OSVERSIONINFO osver;
      osver.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);

      DWORD ver = GetVersionEx(&osver);
      CString msg;
      msg.Format("%u.%u.%u", osver.dwMajorVersion, osver.dwMinorVersion, LOWORD(osver.dwBuildNumber));
      SetDlgItemText(IDC_VERSION, msg);
0
 

Author Comment

by:ptiger
Comment Utility
Thanks your reply!
But can you tell me if the following Windows 95 is the OSR2 one or the retail release one?
a) 4.10.1691
b) 4.00.950
0
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 100 total points
Comment Utility
4.00.950 is the first (retail) release of Win95. The other one will be OSR 2.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now