IsUnicode function

Returns whether or not the Win32 Unicode APIs are being called. If running on a Windows NT class operating system (Windows NT, Windows 2000, Windows XP), will return TRUE$ (1). If running on a Windows 98 class (Windows 98, Windows Millenium Edition), will return FALES$(0).

bUnicode = IsUnicode()

On a Windows NT class machine, you can force Windows 98 class behavior by using the /WIN98 command line switch upon starting OpenInsight.

declare function isunicode

if IsUnicode()= 1 then

   call msg(@window, "Win32 Unicode APIs are being called.")

end else

   call msg(@window, "Win32 ANSI APIs are being called.")

end
 
 
  • guides/programming/programmers_reference_manual/isunicode.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1