|
The QMIsECS() function determines whether a QMClient session is connected to an ECS mode server.
The examples below test whether a QMClient connection is open in ECS mode and, if not, display an error message.
int QMIsECS()
if (!QMIsECS())
{
printf("Not ECS mode");
exit(0);
}
For non-ECS mode connections, use of the wide character variants of QMClient API functions may fail if characters outside the 8-bit set are referenced.
|
QMIsECS() as Boolean
If Not QMIsECS() Then
MsgBox("Not ECS mode", MsgBoxStyle.Exclamation)
End If
|
IsECS
if not(session->IsECS) then
stop "Not ECS mode"
end
This function is implemented as a property value in the QMBasic class module API.
|
IsECS
if (!qm.IsECS)
{
System.out.println("Not ECS mode");
}
|
IsECS()
if not qm.IsEcs():
print("Not ECS mode")
|
|