Exception thrown when using VC++ with Visual Studio 2003
I am developing an application using Industrial Gadgets ActiveX Controls with Visual C++ on Visual Studio 2003. I developed the application using the demonstration version and all went well. However, when I purchased and installed a licensed version, my application threw and exception upon startup and exited. When I reinstalled the demonstration version, all was well again.
How can I install the licensed version?
This is a documented situation with this control and VC++ on Visual Studio 2003. It does not affect other languages in Visual Studio 2003 or other development platforms.
To fix it, follow these directions:
-
Exit Visual Studio 2003
-
Install you licensed version of Industrial Gadgets
-
Start up Visual Studio 2003 and open your project.
-
Do one of the following:
-
Remove your Industrial Gadgets icons from your Toolbox (or the reference to them), the add them back in
-
Add a control to a form (any control).
-
-
Recompile and run.
If you did Step 4B, you can then safely remove the extra instance of the control you added.