PDA

View Full Version : Another problem with latest 1.6.0.8 version



GSAC3
22-05-2008, 23:16
Eros:

I just tried to run the SYSTEM_FEATURES script that worked with previous versions, and I got an error message saying that "OS_ISFEATUREPRESENT is not defined. The script has the Uses "OS" line at the beginning, so maybe something has changed in the DLL?

Don

ErosOlmi
22-05-2008, 23:22
Thanks I will check tomorrow.

OS module is released into two version: Win9x systems and WinNT class machines. The same for Console module.
During thinBasic installation, setup program detect the OS and install the relevant version.

Eros

GSAC3
23-05-2008, 03:02
Eros:

Thanks -- that's pretty slick.

Don

RobertoBianchi
23-05-2008, 09:51
Don,

OS_IsFeaturePresent() and the following function are available only on Windows 2000 Professional, XP and Vista.

OS_ServiceStop()
OS_ServiceStart()
OS_ServiceQuery()
OS_ServiceStatusDescription()
OS_ServiceGetStartType()
OS_ServiceSetStartType()
OS_ServiceStartTypeDescription()
OS_ServiceGetList()

Regards,
Roberto

GSAC3
23-05-2008, 14:16
Roberto:

Thanks for the info. Last night I discovered that the example scripts in the OS sub-directory of the thinBasic 1.6.0.8 distribution will not work when installed on a 98se system but work fine when the distribution is installed on an XP system.

Don

Petr Schreiber
23-05-2008, 15:27
GSAC3,

in the help for OS_IsFeaturePresent there is a sentence:
"Function available only on WINNT class OS."

That means Windows 2000, XP, and Vista.


Petr