Hi Robert,

I can unfortunately not help with VB6 specific, maybe other here have 
experience with that.
There is example client with Java, Perl and Pascal with the source code ( 
http://svn.origo.ethz.ch/wsvn/skychart/trunk/skychart/sample_client/ ) but all 
require that skychart is started first.

But what I can say from you code is the time let to skychart.exe to start is 
probably too short, try to increase the sleep time to five second or start 
skychart manually before your test program.

You can know the socket is ready on the skychart side by monitoring the file 
C:\Users\[username]\AppData\Local\Skychart\cdc_trace.txt . It must contain 
"Listen on port: 3292" (warning: language specific).

Even if you not use the data send by skychart you must periodically read the 
socket (with zero timeout) to avoid problem with a full buffer.

Patrick

Reply via email to