. .

st4u

ST 4U 277: DDE in VA Smalltalk

August 29, 2012 14:57:41.545

Today's Smalltalk 4 You looks at using DDE (Windows) in VA Smalltalk. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

DDE.

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:


Today we'll take a look at DDE support in VA Smalltalk. While DDE is an old way of doing inter-process communication, it still works well, and it's easy to use. To start, load the DDE-Examples package from the features tool, and then find the DDE-Examples Application:

Example

Have a look at the DDETimeServer and the DDETimeClient. We'll be using those for the purpose of this example. Just create an instance of the server in a workspace:

Example Code

Then create the client - you should see the time printing to the Transcript. All this example does is set up a topic for the client to find, and, when found, print to the Transcript:

printing

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

Technorati Tags: , , ,

Enclosures:
[st4u277-iPhone.m4v ( Size: 2470096 )]

posted by James Robertson

 Share Tweet This