Page 2 of 2

Re: PureBasic 5.10 beta 5

Posted: Mon Jan 28, 2013 1:57 am
by GeoTrail
Awesome. Thanks :)



(btw, next tuesday, in one week and one day, it has been exactly 5 months since I quit smoking) YEEYYY ;)

Re: PureBasic 5.10 beta 5

Posted: Tue Jan 29, 2013 2:19 pm
by Lebostein
Mac OS: UnpackMemory() not found!

Re: PureBasic 5.10 beta 5

Posted: Tue Jan 29, 2013 2:19 pm
by Fred
Please don't use this thread for coding questions, and read the changelog thanks.

Re: PureBasic 5.10 beta 5

Posted: Sat Feb 02, 2013 9:06 pm
by RichAlgeni
Are we close??? The suspense is killing me!

Re: PureBasic 5.10 beta 5

Posted: Sat Feb 02, 2013 9:31 pm
by ts-soft
RichAlgeni wrote:Are we close??? The suspense is killing me!
The release comes before GeoTrail is quit smoking one year :mrgreen:

Re: PureBasic 5.10 beta 5

Posted: Sun Feb 03, 2013 4:44 pm
by GeoTrail
He he he 1 year is a while off. 5 months in 2 days :P

Re: PureBasic 5.10 beta 5

Posted: Sun Feb 03, 2013 8:00 pm
by GeoTrail
Haven't the OSVersion function been updated?
When I run this code, it returns unknown version

Code: Select all

Select OSVersion()
  Case #PB_OS_Windows_NT3_51
    Debug "Windows NT 3.51"
  Case #PB_OS_Windows_95
    Debug "Windows 95"
  Case #PB_OS_Windows_NT_4
    Debug "Windows NT 4"
  Case #PB_OS_Windows_98
    Debug "Windows 98"
  Case #PB_OS_Windows_ME
    Debug "Windows ME"
  Case #PB_OS_Windows_2000
    Debug "Windows 2000"
  Case #PB_OS_Windows_XP
    Debug "Windows XP"
  Case #PB_OS_Windows_Server_2003
    Debug "Windows Server 2000"
  Case #PB_OS_Windows_Vista
    Debug "Windows Vista"
  Case #PB_OS_Windows_Server_2008
    Debug "Windows Server 2008"
  Case #PB_OS_Windows_7
    Debug "Windows 7"
  Case #PB_OS_Windows_Future
    Debug "Windows 8"
  Default
    Debug "Unknown version"
EndSelect

Re: PureBasic 5.10 beta 5

Posted: Sun Feb 03, 2013 8:09 pm
by ts-soft
I think you have windows 8?
Use this and don't smoke!

Code: Select all

Select OSVersion()
  Case #PB_OS_Windows_NT3_51
    Debug "Windows NT 3.51"
  Case #PB_OS_Windows_95
    Debug "Windows 95"
  Case #PB_OS_Windows_NT_4
    Debug "Windows NT 4"
  Case #PB_OS_Windows_98
    Debug "Windows 98"
  Case #PB_OS_Windows_ME
    Debug "Windows ME"
  Case #PB_OS_Windows_2000
    Debug "Windows 2000"
  Case #PB_OS_Windows_XP
    Debug "Windows XP"
  Case #PB_OS_Windows_Server_2003
    Debug "Windows Server 2000"
  Case #PB_OS_Windows_Vista
    Debug "Windows Vista"
  Case #PB_OS_Windows_Server_2008
    Debug "Windows Server 2008"
  Case #PB_OS_Windows_7
    Debug "Windows 7"
  Case #PB_OS_Windows_8
    Debug "Windows 8"
  Case #PB_OS_Windows_Future
    Debug "Windows BLUE ;-)"
  Default
    Debug "Unknown version"
EndSelect

Re: PureBasic 5.10 beta 5

Posted: Sun Feb 03, 2013 8:14 pm
by netmaestro

Code: Select all

Case #PB_OS_Windows_Future
    Debug "Windows BLEW (attire build) ;-)"

Re: PureBasic 5.10 beta 5

Posted: Sun Feb 03, 2013 9:17 pm
by GeoTrail
Duh didnt think about that #PB_OS_Windows_8 hehe