R
Rolf
Hello,
I have written a COM add-in for Office 2003 in Visual C++. The add-in
doesn't do much special, but it does use MFC to display a dialog if the
user clicks a button on a new toolbar.
I had been running the debug version of the add-in from Visual Studio
itself and it worked fine. Then I tried to run a release version of the
same add-in. Registering the dll with regsvr32.exe works well, but when
I start PowerPoint, it doesn't show the new toolbar. The add-in shows up
in the COM add-in window, but isn't started due to "A runtime error
occurred during the loading of the COM add-in".
After this, I have unregistered the release COM dll and have registered
the debug version again. Now when I start PowerPoint from Visual Studio,
PowerPoint tells me that the debug add-in can be started because "A
runtime error occurred during the loading of the COM add-in". This is
exactly the same dll that did work before. Furthermore, when I try to
debug the add-in, Visual Studio tells me that all breakpoints are
skipped, no matter where they are put.
Has anyone else had this problem or does anyone know a solution? And how
can see what the runtime error is that PowerPoint is complaining about?
Thanks in advance,
Rolf
I have written a COM add-in for Office 2003 in Visual C++. The add-in
doesn't do much special, but it does use MFC to display a dialog if the
user clicks a button on a new toolbar.
I had been running the debug version of the add-in from Visual Studio
itself and it worked fine. Then I tried to run a release version of the
same add-in. Registering the dll with regsvr32.exe works well, but when
I start PowerPoint, it doesn't show the new toolbar. The add-in shows up
in the COM add-in window, but isn't started due to "A runtime error
occurred during the loading of the COM add-in".
After this, I have unregistered the release COM dll and have registered
the debug version again. Now when I start PowerPoint from Visual Studio,
PowerPoint tells me that the debug add-in can be started because "A
runtime error occurred during the loading of the COM add-in". This is
exactly the same dll that did work before. Furthermore, when I try to
debug the add-in, Visual Studio tells me that all breakpoints are
skipped, no matter where they are put.
Has anyone else had this problem or does anyone know a solution? And how
can see what the runtime error is that PowerPoint is complaining about?
Thanks in advance,
Rolf