I have a multi-threaded VB ActiveX EXE application (thread per object) with
a couple of MultiUse classes that is exhibiting a strange problem with VNC.
It took a while to figure out that VNC was causing this.

When running the app on a machine with the VNC server running and a VNC
client connected, object creations fail in this ActiveX EXE. Calling
CreateObject() on the MultiUse classes from another application results in
"Automation error: The object universal unique identifier (UUID) was not
found." If calling CreateObject from within the ActiveX EXE itself, it shuts
down with an access violation.

Strangely, this only happens with this particular application, and only when
the VNC server is running and has an active session. I wrote several other
test apps with the exact same structure as this app, and they all work fine.

Some detail: one of the VB classes (PublicNotCreatable) adds itself to the
ROT so GetObject works with it. However, the test apps also do this and work
just fine.

Any clues what could be going on?

Uwe W. Radu 
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to