4.3. A Simple Application Program Example

The first program we want to develop is a simple application. Because of the simplicity of this application, only an Application Model is used. The functionality of this application is to call a Dynamic Link Library (DLL) developed in Visual C++ to generate some random numbers from the VisualWorks domain. The maximum, minimum, and mean values for these random numbers are computed in the DLL. Finally, these computed parameters will be returned to the VisualWorks domain (Application Model) and will be displayed on a user interface developed in the VisualWorks domain.

Following is the sequence for this application development:

  • Create a user interface by using VisualWorks UIPainter with eight widgets:
    • the ...

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.