` Automatically doing SetName() in a DLL (Steve Parker ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Automatically doing SetName() in a DLL
2000-01-15 -- Steve Parker
 
I recently found that because I had used my global data dll to GetPath and then do all the SetNames, I didn't have to do anything more than include the DLL to have the SetNames already done in the other DLLs. Cool. In the global data DLL's Program Setup embed, I called a procedure that checks for the path. If it does not find it, it calls another procedure to get it from the user. If it does find it stored in file, it proceeds to the SetNames. Because it is in the Program Setup embed, when the APP is made to a DLL, it ends up in the DLL constructor. Therefore, nothing needs to be explicitly called. Very convenient.


Today is April 28, 2024, 11:50 am
This article has been viewed 35109 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: