Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / February 2007

Tip: Looking for answers? Try searching our database.

Wizard-made C++ add-in plumbing code crashes (VS2005 SP1)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Davide Pasca - 20 Feb 2007 11:18 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.