Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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, 5:59 am This article has been viewed 35208 times.
|
|