When an application is launched from the IDE and a debugger is attached, the "External exception C0000008" exception occurs when trying to connect to an imported ActiveX control.
If the application is launched offline or the Rad Studio options / Debugging options / Integrated debugging is not checked, the program works as expected, there will be no exception, and the ActiveX control returns the expected result.
There are other ActiveX controls in the project, all of which work fine.
I tried: - Reinstalling the ActiveX control - Re-importing the ActiveX control - Removing any software that may cause conflicts (experts / plugins, etc.) - Disabling most running applications and services, etc. If they cause conflict.
Google search. Others seem to have the same problem, but there is no fix that can be found (other than turning off Integrated debugging, but obviously this is not a valid option.
Does anyone have any ideas to solve this problem?
I am using Delphi 2007
delphi activex
Re0sless
source share