How to Register the “TMA Model Library” (TMAModelCOMLib.dll) built with Visual Studio C++ 2010 - ATL/COM/DLL technology (by Guillermo Julca / The Marketing Advantage TMA)
1) For a computer that does not have Visual C++ 2010 installed we MUST run/install the Microsoft Visual C++ 2010 Redistributable Package
(vcredist_x86.exe) which installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++
2) Open "Command Prompt" window with administrator privileges.
3) To register (or re-register) the “TMAModelCOMLib.dll” file, type:
regsvr32 <path>\TMAModelCOMLib.dll (where <path> is the path to the file)
4) You will get a pop up box confirming that the dll has registered successfully.
5)
To Unregister the “TMAModelCOMLib.dll” file, type: regsvr32 - u <path>\TMAModelCOMLib.dll (where <path> is the path to the file). Back to step3 to re-register the dll file.