4.9. Smart Motor Data Collecting and Plotting DLLs
4.9.1. Smart Motor Data Collecting DLL
A new External Interface Class is created for this set of DLL functions calling, named BTestThread, using the same method as before to create it. Then, create a new structure named cProcess under this class, as shown in Figure 4-166. Create a new procedure: TestSmartMotorReadProcessValue (int arg1, struct cProcess* arg2) based on the cProcess structure. In the same way, create a new library file named STSmartMotordll.dll and a new library directory C:\\Lamdll2 (refer to Figure 4-159 and Figure 4-160).
Figure 4-166.
In the External Interface Finder dialog ...
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.