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


VulpesRank #55 · 29.2K reputationPosted Mar 24, 2011, 1:17 AM EDT
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.
Vijay YadavRank #1,637 · 943 reputationPosted Mar 24, 2011, 1:27 AM EDT
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.
VulpesRank #55 · 29.2K reputationPosted Mar 24, 2011, 1:41 AM EDT
Under the Build tab in the project properties, try changing the Platform Target CPU property to 'X86' for your XP SP3 machine.
Vijay YadavRank #1,637 · 943 reputationPosted Mar 24, 2011, 1:55 AM EDT
But now i am not able to reproduce that error (means that dialog box)
VulpesRank #55 · 29.2K reputationPosted Mar 24, 2011, 2:00 AM EDT
Did you have it set to 'Any CPU' previously?
Vijay YadavRank #1,637 · 943 reputationPosted Mar 24, 2011, 2:07 AM EDT
VulpesRank #55 · 29.2K reputationPosted Mar 24, 2011, 2:34 AM EDT