Article View: comp.os.ms-windows.programmer.misc
Article #2230Passing Data between Client and Server Applications
From: S.Khebbal
Date: Thu, 21 Jan 1993 15:17
Date: Thu, 21 Jan 1993 15:17
36 lines
2339 bytes
2339 bytes
Hello, I hope that someone can help me, I have recently started to use the sample client demo and server demo programs in the Microsoft SDK, to help me understand MS-Windows and OLE. I am experiencing difficultly in passing data between the server and the client. I have devised a server that behaves as a seconds counter and a client that behaves like a minute counter, along with a manager client application that has the seconds and minutes applications packaged within it. What I have done is to create an object in the seconds server that simply counts upto 59 and starts again. I have allowed the object to be copied and pastelinked via the clipboard to the minute client, therefore creating a link between the seconds and the minutes. What I would be grateful for is some advise (perhaps some examples) of how to pass data (eg the number that represents the seconds) from the seconds server to the minutes client, so that the minutes client could check for 59 and increment its minutes counter. Should this be done via the clipboard or via calls to Get the data ? If via the clipboard what is the best way to put and read data of the clipboard ? I would be very grateful if any OLE guru could help me with these problems - my email is below. Thanks In Advance -- Sukhdev Khebbal =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # MAIL ADDRESS : | EMAIL ADDRESS : # # Sukhdev Khebbal, | skhebbal@uk.ac.ucl.cs (UK sites) # # Room 301, | skhebbal@cs.ucl.ac.uk (US sites) # # Computer Science Department, |------------------------------------# # University College London, | TELEPHONE NUMBERS : # # Gower Street, | Voice: +44 (0) 71 387 7050 X 3695 # # London WC1E 6BT. | Fax : +44 (0) 71 387 1397 # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<3398@ucl-cs.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!keele!nott-cs!ucl-cs!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!keele!nott-cs!ucl-cs!news From: S.Khebbal@cs.ucl.ac.uk Newsgroups: comp.os.ms-windows.programmer.misc Subject: Passing Data between Client and Server Applications Message-ID: <3398@ucl-cs.uucp> Date: 21 Jan 93 15:17:45 GMT Sender: news@cs.ucl.ac.uk Lines: 36