// OS Version~??
// Get the operating system.
STRING szTitle, szMsg, svResult, szInfo;
NUMBER nvResult;
LIST listInfo;
if (GetSystemInfo (OS, nvResult, svResult) < 0) then
szInfo = "Couldn't get Operating System info.";
else
switch (nvResult)
case IS_WINDOWSNT:
szInfo = "OS: Windows NT";
case IS_WINDOWS9X:
GetSystemInfo (WINMINOR, nvResult, svResult);
if (nvResult < 10) then
szInfo = "OS: Windows 95";
else
szInfo = "OS: Windows 98";
endif;
endswitch;
endif;
Windows Me까지는 Windows9x로 인식한다~
2000이상은 NT로~
인스톨 쉴드로 운영체제를 선별해서 설치시 사용할수있다~
간단하게 컴포넌트 형태로 사용하는 방법이 있는지는 모르지만.. 일단 이게 확실하게되니..ㅎㅎ