Error "Visual Studio has encountered an exception...may be caused by an extension"

Error "Visual Studio has encountered an exception...may be caused by an extension"

I get this error message under the following conditions:
Running XE 12.0 update 9 on XP machine.
If a specific subroutine is "open" so that it shows up in the source window.
OR
The first time I click on this subroutine to open it in the source window.

If I close the window and reopn the source I DO NOT get the error message.
I have 80 someodd subroutines and this is the OPNY one that causes this error message to appear.
This Subroutine happens to be the subroutine that contains the !dec$ attributes for being called from EXCEL

!dec$ attributes dllexport :: DispatchDLL
!dec$ attributes alias : "DISPATCHDLL" :: DispatchDLL
!dec$ attributes stdcall, REFERENCE :: DispatchDLL
!dec$ attributes MIXED_STR_LEN_ARG :: DispatchDLL

If I clear the message and continue, I can build my project and continue as if I never got the error message.

I tried to do the suggestion and start the project with /lop parameter, but did NOT get (or be able to find) the ActivityLog.xml file that the /log was supposed to create.

Any ideas as to what is causing this error message

Joel L Gilbert
12 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Try update 10 and see if that helps. We have seen a couple of different variations on this error and fixed those we know about.

Retired 12/31/2016

Installed Update 10... Opened project.... Got same error message.

Joel L Gilbert

Would you please provide a ZIP of your project (after a Build > Clean)?

Retired 12/31/2016

I created a new project, added the one subroutine, deleted most of the code, added a few lines to make a main routine (to remove build errors).

Joel L Gilbert

So you are no longer seeing this error? Or did you mean to attach this new project, as you didn't...

Retired 12/31/2016

Still gets the error message. Thought I had attached the zip file. Hopefully I did it right this time.

Attachments: 

AttachmentSize
Downloadapplication/zip Dealem2000.zip6.01 KB
Joel L Gilbert

I asked our developers to take a look at this. Issue ID is DPD200182177.

Retired 12/31/2016

The developers tell me that this is fixed for the next update.

Retired 12/31/2016

Does that mean Composer XE 12.1 Update 11.344 or the one to follow this ?

It would be Update 11.

Retired 12/31/2016

Thanks.

It appears that this issue is now causing me a problem.
I will install Update 11 and see if it corrects my original problem and my current problem.

Leave a Comment

Please sign in to add a comment. Not a member? Join today