Hello,
I'm a complete beginner about VS add-ins.
Today I tried to compile and run basic add-in code fresh off the
wizard but the devenv.exe launched at debug time crashes right after
the splash screen.
This however only happens with a C++ project (either ATL or CLR). The
C# plumbing code runs fine, but my target is C++..
I noticed an odd thing in the Output window. One line is filled with
%s ..perhaps indicative of some sort of buffer overflow due to some
sprintf() kind of function ?
Here is a snippet:
--------------------
[...]
'devenv.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols
loaded.
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s'devenv.exe': Loaded 'C:\WINDOWS
\system32\inetmib1.dll', No symbols loaded.
'devenv.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll', No symbols
loaded.
[...]
'devenv.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', No symbols
loaded.
First-chance exception at 0x01b139ec in devenv.exe: 0xC0000096:
Privileged instruction.
First-chance exception at 0x01b13a27 in devenv.exe: 0xC000001D:
Illegal Instruction.
First-chance exception at 0x01b3049a in devenv.exe: 0xC0000005: Access
violation writing location 0x00000000.
--------------------
I'm using Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600)
and .NET Framework Version 2.0.50727. The only additional extension I
have running is Visual Assist X.
My VS is in English but my XP (SP2) is in Japanese. I don't know if
this can be a problem..
Thank you,
Davide
Davide Pasca - 21 Feb 2007 06:26 GMT
> Hello,
>
[quoted text clipped - 4 lines]
> This however only happens with a C++ project (either ATL or CLR). The
> C# plumbing code runs fine, but my target is C++..
I uninstalled Visual Assist X (as I didn't know how to stop it from
loading in VS 2005 (the answer is here -> http://www.wholetomato.com/forum/topic.asp?TOPIC_ID=5513
)) and the problem disappeared.
I suppose then it's a Visual Assist X bug (?)
Thank you,
Davide