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 / Languages / Managed C++ / August 2007

Tip: Looking for answers? Try searching our database.

Wierd problem with VS2003&vista

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ismo Salonen - 16 Aug 2007 13:23 GMT
I've got code that works when started normally (explorer, command
whatever) but fails when started from VS2003. It crashes in different
place when started with debugging (F5) and other place when started
without debugging ( CTRL+F5).

The same code works correctly on W2K/W2K3/XP. All modules are C++ code.

The Visual Studio 2003 must be currently used due to 3rd party
libraries. It has the SP1 installed.

Is the VS2003 debugger totally useless on Vista ?

When the program  crashes I can attach it with debugger and always there
is secur32.dll!760621f4 as last address on stack.

Has anybody else seen this behaviour or is it just me ?

ismo
PvdG42 - 16 Aug 2007 14:39 GMT
> I've got code that works when started normally (explorer, command
> whatever) but fails when started from VS2003. It crashes in different
[quoted text clipped - 14 lines]
>
> ismo

VS .NET 2003 is not supported in Vista, and you've probably run into one of
the many reasons why.
Ben Voigt [C++ MVP] - 16 Aug 2007 14:54 GMT
>> I've got code that works when started normally (explorer, command
>> whatever) but fails when started from VS2003. It crashes in different
[quoted text clipped - 17 lines]
> VS .NET 2003 is not supported in Vista, and you've probably run into one
> of the many reasons why.

I believe I've heard that it was specifically the debugger that wouldn't run
right, and far too much trouble for MS to make it compatible.

However, I think the debug information created by 2003 should be usable from
2005 or WinDbg.
Carl Daniel [VC++ MVP] - 16 Aug 2007 15:04 GMT
>>> I've got code that works when started normally (explorer, command
>>> whatever) but fails when started from VS2003. It crashes in
[quoted text clipped - 22 lines]
> However, I think the debug information created by 2003 should be
> usable from 2005 or WinDbg.

Yes, it is.  You can develop with VS2003 on XP and then debug with VS2005 +
SP1 + VistaPatch on Vista.

-cd
Ismo Salonen - 17 Aug 2007 06:32 GMT
>>>> I've got code that works when started normally (explorer, command
>>>> whatever) but fails when started from VS2003. It crashes in
[quoted text clipped - 25 lines]
>
> -cd

I've been banging my head against the wall with this, looking for
phantom bugs that appear only while debugging.
Running the debugger as administrator helps a little but I can not
trust debugger anymore on vista. Luckily next  version will be compiled
with VS2005.

ismo

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.