Register an ActiveX DLL from within FoxPro
A Chilkat customer provided this bit of Foxpro code:
DECLARE LONG DllRegisterServer IN <yourfile.dll> IF DllRegisterServer() = 0 * OK ELSE * Not OK ENDIF
It provides an alternative way to distribute an ActiveX DLL with a FoxPro application. Typically, one would create an installer, such as a .msi or something from an install software package (InstallShield perhaps), such that the installer registers any ActiveX DLL’s included in the setup/deployment project when installing. However, using the idea above, it should be possible to simply include the ActiveX DLL in the same directory as the EXE and potentially distribute as a simple .zip. When the app is first run, it could automatically register the ActiveX DLL.
admin
0
Tags :