I have communication between a server and client (OLE automation) (Progress 
dbms and a delphi appl).

 It's working quite well, as long as you give the communication the time it 
needs.

 After a call from the client to the server for some blob data, the server will 
save the blob-data to a temp file (faster than direct communication) and pass 
this temp file as a parameter to the client. The client then  loads the 
blob-data from this temp file, but this could take some time before the 
application becomes ready again....
(It's a quite time consuming streamread procedure that also has to decompress 
some data, fill some lists, do some checks etc. )
 If one toggles (only via the windows task bar)  between the client and server, 
the server will throw an exception and terminate it's connection. I did not 
succeed to debug what causes this termination of the automation link as I could 
only debug one side of the connection.

What is the common technique (or way to program) to "hold" any new event's from 
occuring, or 'store' these events while the blob is loading untill the client 
becomes ready for communication and talking back to the sever.  
Should one put this 'loading' into a thread to overcome these problems?
Also what could I do to make this connection more stable. 
What is the best way of debugging OLE connection failure like this.

any suggestions will be welcomed; also if these problems are common when 
working with ole, please tell me.

Regards

Andries

                
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to