i read in a c++ book, that to get the version of the operating system to use GetVersionEx.
i tried this
what number does this give?Code:'module Public Type OSVERSIONINFO dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwPlatformId As Long szCSDVersion As String * 128 ' Maintenance string for PSS usage End Type Public Declare Function GetVersion Lib "kernel32" () As Long 'form Private Sub Command1_Click() MsgBox GetVersion() End Sub
it's heaps of number, that mean nothing??
can any one help?




Reply With Quote