LonniePurvis
Programmer
I have written a DLL that accesses a registry setting. This DLL is accessed from an ActiveX object we created for Database Access, and XML read/writes. My boss has asked me to created property pages within my ActiveX that can be used to set the ServerName, DatabaseName, UserID, and Password. This information will then be passed to the DLL. The DLL is updated whenever the each property in the ActiveX is changed. The problem is, the DLL doesn't retain the information. Is there some way to make a variable in the DLL persistent?