Login
`
Templates, Tools and Utilities
|
||
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 November 21, 2024, 3:34 am This article has been viewed 35207 times.
|
|