I am a complete newcomer to Kixtart and have been running some of the example texts and have also installed KiXGUI. I am having a problem with some of the examples that use the following piece of code:-

$root = createobject("KixGUI.Desktop")
If Len($root)=0 ; KiXGUI not registered or not present
? "KiXGUI not registered"
Exit 1
EndIf

The Len statement errors with the message "IDispatch pointers not allowed in expressions"

Any ideas ?

I am probably missing something obvious.

Norman Webster