Common Windows Problems

Program Appears to Hang and Cannot Be Stopped

Check that the itimeout value has been set for all SICL sessions in your program. Otherwise, when an instrument does not respond to a SICL read or write, SICL waits indefinitely in the SICL kernel access routine, preventing the application from being stopped.

To stop the application, click the button in the upper-left corner of the window and then close the window. After a few seconds, an End Task dialog box appears. Press the End Task button to stop the application.

Formatted I/O Using %F Causes Application Error

Verify $(cvarsdll) is used when compiling the application, and either $(guilibsdll) for Windows applications or $(conlibsdll) for console applications when linking your application.

Also, the %F format character for iprintf only works with languages that use MSVCRT.DLL, MSVCRT20.DLL, or MSVCRT40.DLL for their run-time library.

Some versions of Visual C/C++ use their own versions of the run-time library. They cannot share global data with SICL’s version of the run-time library and, therefore, cannot use %F.