4.8. External Interface Classes

In ControlWORKS, the External Interface Class is a special tool used to interface to the software package or DLL developed using other languages, such as C/C++. Because ControlWORKS itself doesn't have any ability to access and control the hardware directly, the External Interface Class works just like a bridge between Smalltalk and other programs developed by other languages. Using the External Interface Class, ControlWORKS can call embedded functions or the DLL developed by C/C++. Because DLL is a good method to call, we present the following discussion about calling DLL from ControlWORKS.

For this application, there are three External Interface Classes, BsmartMotorDll, BTestThread, and ZDBPlotData. Each External ...

Get Applications Interface Programming Using Multiple Languages: A Windows® Programmer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.