Hi,
Whenever i close my application it opens two dialog box
1) visual studio error: A debugger is attached to project.vshost.exe but not configured to debug this unhandled exeception. to debug attached the curent debugger.
2)An unhandled win32 exception occurred in project.vshost.exe[2052]
Any idea!!!!
Loading

VulpesPosted Mar 24, 2011, 6:34 AM
Vijay YadavPosted Mar 24, 2011, 6:07 AM
VulpesPosted Mar 24, 2011, 6:00 AM
Did you have it set to 'Any CPU' previously?
Vijay YadavPosted Mar 24, 2011, 5:55 AM
But now i am not able to reproduce that error (means that dialog box)
VulpesPosted Mar 24, 2011, 5:41 AM
Under the Build tab in the project properties, try changing the Platform Target CPU property to 'X86' for your XP SP3 machine.
Vijay YadavPosted Mar 24, 2011, 5:27 AM
I have already done this. But i don't think this is a proper solution because i was using window7 and now i change it to xp service pack-3 and all of a sudden it started showing this type of dialog boxes.
VulpesPosted Mar 24, 2011, 5:17 AM
I'd try enabling debugging of unmanaged code - see http://msdn.microsoft.com/en-us/library/tdw0c6sf.aspx
Notice that this option isn't supported in the Express version.