`
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. Printed November 21, 2024, 5:43 am This article has been viewed/printed 35207 times. |