Skip to content
  • There are no suggestions because the search field is empty.

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:

  1. Exit Visual Studio 2003
  2. Install you licensed version of Industrial Gadgets
  3. Start up Visual Studio 2003 and open your project.
  4. Do one of the following:
    1. Remove your Industrial Gadgets icons from your Toolbox (or the reference to them), the add them back in
    2. Add a control to a form (any control).
  5. Recompile and run.

If you did Step 4B, you can then safely remove the extra instance of the control you added.