Visual Studio Application Verifier ForumDiscuss issues regarding Visual Studio’s Application Verifier feature, a runtime verification tool for C/C++.© 2009 Microsoft Corporation. All rights reserved.Wed, 14 Oct 2009 06:08:56 Z0c833275-e1fd-4f3f-8ba7-2fa59164b4bbhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/e0230e50-03a6-4f02-83f5-6a0cedc65a17http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/e0230e50-03a6-4f02-83f5-6a0cedc65a17Breddahttp://social.msdn.microsoft.com/Profile/en-US/?user=BreddaAppVerifier(64) breakpoints, exceptions and empty logs?Hi, <br /> I think this is the correct place to post this, as I cant find Visual Studio Team System Forums-&gt;Visual Studio Application Verifier<br /> in the dialog. <br /> I'm looking into a problem with my app running under AppVerifier.<br /> I have Vista Ultimate 64bit OS, a 32bit application I wish to test, and a 64 bit version of AppVerifier.<br /> I tag the app in the verifier, and set the tests I want to perform (Basics). <br /> Run WinDbg, click File-&gt;OpenExecutable and run the .exe.<br /> I immediately hit this breakpoint:<br /> <br /> ModLoad: 00000000`00400000 00000000`00aee000&nbsp;&nbsp; App1_Release.exe<br /> ModLoad: 00000000`77c10000 00000000`77d90000&nbsp;&nbsp; ntdll.dll<br /> ModLoad: 00000000`77db0000 00000000`77f10000&nbsp;&nbsp; ntdll32.dll<br /> ModLoad: 00000000`75cb0000 00000000`75cf5000&nbsp;&nbsp; C:\Windows\system32\wow64.dll<br /> ModLoad: 00000000`75c60000 00000000`75cae000&nbsp;&nbsp; C:\Windows\system32\wow64win.dll<br /> ModLoad: 00000000`75c50000 00000000`75c59000&nbsp;&nbsp; C:\Windows\system32\wow64cpu.dll<br /> (1184.9c0): Break instruction exception - code 80000003 (first chance)<br /> ntdll!DbgBreakPoint:<br /> 00000000`77c54ea0 cc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int&nbsp;&nbsp;&nbsp;&nbsp; 3<br /> <br /> &amp; later on in the run :<br /> <br /> ModLoad: 00000000`76600000 00000000`76607000&nbsp;&nbsp; C:\Windows\syswow64\PSAPI.DLL<br /> (1210.814): WOW64 breakpoint - code 4000001f (first chance)<br /> First chance exceptions are reported before any exception handling.<br /> This exception may be expected and handled.<br /> ntdll32!DbgBreakPoint:<br /> 77dc0004 cc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int&nbsp;&nbsp;&nbsp;&nbsp; 3<br /> <br /> These 2 happen with or without the AppVerifiers modifications, It would be nice to know what they are&nbsp; about, I'm not sure its essential.<br /> I can hit F5 to continue, the app runs, constantly hitting :<br /> <br /> ModLoad: 76860000 76869000&nbsp;&nbsp; C:\Windows\syswow64\LPK.DLL<br /> (127c.a58): Access violation - code c0000005 (first chance)<br /> First chance exceptions are reported before any exception handling.<br /> This exception may be expected and handled.<br /> ntdll!RtlVirtualUnwind+0x215:<br /> 00000000`77c5b745 488b02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mov&nbsp;&nbsp;&nbsp;&nbsp; rax,qword ptr [rdx] ds:fffffa60`10999b70=????????????????<br /> <br /> and so it continues. <br /> The main loop of the app runs uninterrupted, but then starts throwing these exceptions again on exit:<br /> <br /> (127c.a58): Access violation - code c0000005 (first chance)<br /> First chance exceptions are reported before any exception handling.<br /> This exception may be expected and handled.<br /> ntdll!RtlVirtualUnwind+0x215:<br /> 00000000`77c5b745 488b02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mov&nbsp;&nbsp;&nbsp;&nbsp; rax,qword ptr [rdx] ds:fffffa60`10999ab8=????????????????<br /> <br /> about 20 times.<br /> <br /> Despite all this my Appverifier never seems to generate any more detailed a log than this:<br /> <br /> <script type="text/javascript"><!-- &lt;!-- &amp;lt;!-- function f(e){ if (e.className==&amp;quot;ci&amp;quot;){if (e.children(0).innerText.indexOf(&amp;quot;\n&amp;quot;)&amp;gt;0) fix(e,&amp;quot;cb&amp;quot;);} if (e.className==&amp;quot;di&amp;quot;){if (e.children(0).innerText.indexOf(&amp;quot;\n&amp;quot;)&amp;gt;0) fix(e,&amp;quot;db&amp;quot;);} e.id=&amp;quot;&amp;quot;; } function fix(e,cl){ e.className=cl; e.style.display=&amp;quot;block&amp;quot;; j=e.parentElement.children(0); j.className=&amp;quot;c&amp;quot;; k=j.children(0); k.style.visibility=&amp;quot;visible&amp;quot;; k.href=&amp;quot;#&amp;quot;; } function ch(e){ mark=e.children(0).children(0); if (mark.innerText==&amp;quot;+&amp;quot;){ mark.innerText=&amp;quot;-&amp;quot;; for (var i=1;i&amp;lt;e.children.length;i++) e.children(i).style.display=&amp;quot;block&amp;quot;; } else if (mark.innerText==&amp;quot;-&amp;quot;){ mark.innerText=&amp;quot;+&amp;quot;; for (var i=1;i&amp;lt;e.children.length;i++) e.children(i).style.display=&amp;quot;none&amp;quot;; }} function ch2(e){ mark=e.children(0).children(0); contents=e.children(1); if (mark.innerText==&amp;quot;+&amp;quot;){ mark.innerText=&amp;quot;-&amp;quot;; if (contents.className==&amp;quot;db&amp;quot;||contents.className==&amp;quot;cb&amp;quot;) contents.style.display=&amp;quot;block&amp;quot;; else contents.style.display=&amp;quot;inline&amp;quot;; } else if (mark.innerText==&amp;quot;-&amp;quot;){ mark.innerText=&amp;quot;+&amp;quot;; contents.style.display=&amp;quot;none&amp;quot;; }} function cl(){ e=window.event.srcElement; if (e.className!=&amp;quot;c&amp;quot;){e=e.parentElement;if (e.className!=&amp;quot;c&amp;quot;){return;}} e=e.parentElement; if (e.className==&amp;quot;e&amp;quot;) ch(e); if (e.className==&amp;quot;k&amp;quot;) ch2(e); } function ex(){} function h(){window.status=&amp;quot; &amp;quot;;} document.onclick=cl; --&amp;gt; // --&gt; // --></script> <div class="e"><span class="m">&lt;?</span> <span class="pi">xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot; </span> <span class="m">?&gt;</span></div> <div class="e"> <div class="c" style="margin-left: 1em; text-indent: -2em;"><a class="b" onclick="return false" href="../en-US/vclanguage/thread/e1c339ed-0cea-483d-afe0-cacd1f5702b1#" class="b" onfocus="h()">-</a> <span class="m">&lt;</span> <span class="t">avrf:logfile</span> <span class="ns"> xmlns:avrf</span> <span class="m">=&quot;</span> <strong class="ns">Application Verifier</strong> <span class="m">&quot;</span> <span class="m">&gt;</span></div> <div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b">&nbsp;</span> <span class="m">&lt;</span> <span class="t">avrf:logSession</span> <span class="t">TimeStarted</span> <span class="m">=&quot;</span> <strong>2009-10-12 : 14:25:28</strong> <span class="m">&quot;</span> <span class="t"> PID</span> <span class="m">=&quot;</span> <strong>5216</strong> <span class="m">&quot;</span> <span class="t"> Version</span> <span class="m">=&quot;</span> <strong>2</strong> <span class="m">&quot;</span> <span class="m"> /&gt;</span></div> </div> <div><span class="b">&nbsp;</span> <span class="m">&lt;/</span> <span class="t">avrf:logfile</span> <span class="m">&gt;</span></div> </div> </div> <br /> any help would be appreciated,<br /> <br /> Cheers<br /> BreeMon, 12 Oct 2009 15:47:22 Z2009-10-14T06:08:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/9df5f650-1bbe-40c7-87f0-414fd254affdhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/9df5f650-1bbe-40c7-87f0-414fd254affdAlicia Caleshttp://social.msdn.microsoft.com/Profile/en-US/?user=Alicia%20CalesForum Migration is Complete!<p>The Forum Migration is complete and this forum has successfully been migrated.  New Forum is located here: <br> <a href="http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/threads/">http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/threads/</a></p> <p>Thanks!</p>Thu, 09 Oct 2008 00:50:53 Z2008-10-09T19:58:57Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/e8ee30bf-9b07-4fc9-b8a7-71d6aaa1ee3dhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/e8ee30bf-9b07-4fc9-b8a7-71d6aaa1ee3dAlicia Caleshttp://social.msdn.microsoft.com/Profile/en-US/?user=Alicia%20CalesThis forum has moved the Week of October 6th, 2008<p align=left><font face=Arial size=2></font> </p> <p class=MsoNormal style="background:white;margin:0in 0in 0pt 0.5in"><font color="#080808"><font face=Calibri size=3>Microsoft has created a new forums platform (</font><a title="http://forums.msdn.microsoft.com/en-US/forums/" href="http://social.msdn.microsoft.com/forums"><font face=Calibri size=3>MSDN</font></a><font face=Calibri size=3> | </font><a title="http://forums.technet.microsoft.com/en-us/Forums/" href="http://social.technet.microsoft.com/forums"><font face=Calibri size=3>TechNet</font></a><font face=Calibri size=3> | </font><a title="http://forums.expression.microsoft.com/en-US/forums/" href="http://social.expression.microsoft.com/forums"><font face=Calibri size=3>Expression</font></a><font face=Calibri size=3> | </font><a title="http://forums.community.microsoft.com/en-US/forums/" href="http://social.microsoft.com/forums"><font face=Calibri size=3>Microsoft</font></a><font face=Calibri size=3>) with increased performance, stability, and an improved user experience. During the week of October 6, 2008 this forum will be moving to the new platform. To make sure this is a smooth transition, we want everyone using this forum to have a chance to try out the new forums in advance, and give feedback. We’ve created a </font><a title="http://forums.community.microsoft.com/en-US/comsandbox/threads/" href="http://social.microsoft.com/Forums/en-US/comsandbox/threads/"><font face=Calibri size=3>Sandbox forum</font></a><font face=Calibri size=3>, where you can create threads and try out functionality, and a </font><a title="http://forums.community.microsoft.com/en-US/suggest/threads/" href="http://social.microsoft.com/Forums/en-US/suggest/threads/"><font face=Calibri size=3>suggestions forum</font></a><font size=3><font face=Calibri> where you can give us your feedback. Please take some time to go to the new forums today and let us know what you think. </font></font></font></p> <p class=MsoNormal style="background:white;margin:0in 0in 0pt 0.5in"><font color="#080808"><font size=3><font face=Calibri> </font></font></font></p> <p class=MsoNormal style="background:white;margin:0in 0in 0pt 0.5in"><font color="#080808"><font size=3><font face=Calibri> On the day the forum moves to the new platform, a post will be made letting you know the process has been started, and the forum will be locked to new posts. Once the process is complete, a final post to the forum will be made letting you know the forum has moved.</font></font></font></p> <p class=MsoListParagraph style="background:white;margin:0in 0in 0pt 63.75pt;text-indent:-26.25pt"><font face="'Calibri','sans-serif'" color="#080808"><font size=3>1.</font></font><font style="font-size:7pt" color="#080808"><font face="Times New Roman">            </font></font><font size=3><font face="'Calibri','sans-serif'" color="#080808">All posts in the forum will be preserved</font><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"></font></font></p> <p class=MsoListParagraph style="background:white;margin:0in 0in 0pt 63.75pt;text-indent:-26.25pt"><font face="'Calibri','sans-serif'" color="#080808"><font size=3>2.</font></font><font style="font-size:7pt" color="#080808"><font face="Times New Roman">            </font></font><font size=3><font face="'Calibri','sans-serif'" color="#080808">Any points you’ve received for replies will move with you (on a per forum basis)</font><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"></font></font></p> <p class=MsoListParagraph style="background:white;margin:0in 0in 0pt 63.75pt;text-indent:-26.25pt"><font face="'Calibri','sans-serif'" color="#080808"><font size=3>3.</font></font><font style="font-size:7pt" color="#080808"><font face="Times New Roman">            </font></font><font size=3><font face="'Calibri','sans-serif'" color="#080808">Any bookmarks to this forum or threads within this forum will redirect to their new location</font><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"></font></font></p> <p class=MsoListParagraph style="background:white;margin:0in 0in 0pt 63.75pt;text-indent:-26.25pt"><font face="'Calibri','sans-serif'" color="#080808"><font size=3>4.</font></font><font style="font-size:7pt" color="#080808"><font face="Times New Roman">            </font></font><font size=3><font face="'Calibri','sans-serif'" color="#080808">Your “My Threads” will be preserved on the new platform</font><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"></font></font></p> <p class=MsoNormal style="background:white;margin:0in 0in 0pt 0.5in"><font size=3><font face=Calibri><font color="#080808"> </font><font style="" face="'Times New Roman','serif'" color="#080808" size=3></font></font></font></p> <p class=MsoNormal style="background:white;margin:0in 0in 0pt 0.5in"><font color="#080808"><font size=3><font face=Calibri>The only thing you’ll need to do after migration is set Windows Live Alerts for any threads you were tracking.</font></font></font></p> <p class=MsoNormal style="background:white;margin:0in 0in 0pt 0.5in"><font color="#080808"><font size=3><font face=Calibri> </font></font></font></p> <p class=MsoNormal style="background:white;margin:0in 0in 0pt 0.5in"><font color="#080808"><font face=Calibri size=3>If you have feedback, let us know in the </font><a title="http://forums.community.microsoft.com/en-US/suggest/threads/" href="http://social.microsoft.com/Forums/en-US/suggest/threads/"><font face=Calibri size=3>suggestions forum</font></a><font size=3><font face=Calibri> </font></font></font></p> <p style="background:white;margin-left:0.5in"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"> </font></p> <p style="background:white;margin-left:0.5in"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808">Thanks!</font></p> <p style="background:white;margin-left:0.5in"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808">Alicia</font></p>Fri, 03 Oct 2008 06:27:00 Z2008-10-09T03:31:24Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/9de8f09e-851e-4210-9e26-4c7c5b8a0a3ehttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/9de8f09e-851e-4210-9e26-4c7c5b8a0a3evikastiwarihttp://social.msdn.microsoft.com/Profile/en-US/?user=vikastiwariCreateProcess Application Verifier bug<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <div><font face=Arial size=2>I think this is similar to one of the recent post.</font></div> <div><font face=Arial size=2></font> </div> <div><font face=Arial size=2>For CreateProcess, MSDN says &quot;If the executable module is a 16-bit application, lpApplicationName should be NULL&quot;.<br>But Application Verifier complains if CreateProcess's first param (i.e. lpApplicationName) is NULL.</font></div> <div><font face=Arial size=2></font> </div> <div><font face=Arial size=2>Is it a known issue with App Verifier. Should this be added into the Extra list of the Application Verfier?</font></div> <div><font face=Arial size=2>If not, how to solve this (because App Verifier is complaining when I invoke 16 bit app)?</font></div> <div align=left> </div> <div align=left>Please help me to solve this problem.</div> <div align=left> </div> <div align=left>Thanks,</div> <div align=left>Vikas.</div>Fri, 26 Sep 2008 13:46:35 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/3fbb2103-a1f8-4ac0-8598-0e18b86ceab8http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/3fbb2103-a1f8-4ac0-8598-0e18b86ceab8VinodRauthttp://social.msdn.microsoft.com/Profile/en-US/?user=VinodRautCreateProcess for 16 bit applications failes for Application Verifier<p align=left><font face=Arial size=2></font> </p> <div>Hi, </div> <div align=left><br></div> <p>I have a problem testing my mfc application while using Application Verifier. <br></p> <p> </p> <p align=left>I have used &quot;CreateProcess&quot; API. Where first parameter is given NULL because the application I want to execute is a 16 bit app. </p> <p align=left> </p> <p align=left>Please go through the following statements..... <br></p> <p align=left>Object Squatting Vulnerability: </p> <p align=left>Any application that launches other processes may potentially open itself up to squatting attacks.</p> <p align=left>The most common ways to do this are: <br>      Passing a NULL lpApplicationName to CreateProcess <br>      Passing a command line to CreateProcess (or similar API) that contains unquoted spaces in the program portion. </p> <p align=left>For example, this command line: C:\program files\foo.exe –t –g C:\program files\foo\bar would be flagged as invalid by SecurityChecks <br></p> <p>Visit: <a href="http://technet.microsoft.com/en-us/library/cc700837.aspx" rel=nofollow>http://technet.microsoft.com/en-us/library/cc700837.aspx</a> <br></p> <p> </p> <p align=left>If I use 1st param as NULL &amp; second using 32 bit application along <br>with some command line atttributes then it works fine. <br></p> <p> </p> <p align=left>So now how to pass my application through Application Verifier which <br>uses CreateProcess for 16 bit applications.? <br></p> <p align=left>Thanx &amp; Regards,</p> <p align=left>Vinod.</p>Thu, 25 Sep 2008 08:30:04 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/e7d163c4-8221-411d-9b0e-122fd059d4d6http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/e7d163c4-8221-411d-9b0e-122fd059d4d6Adrian20XXhttp://social.msdn.microsoft.com/Profile/en-US/?user=Adrian20XXCan't find how to disable the application verifier<p align=left><font face=Arial size=2></font> </p> <p>Hi,</p> <p align=left>I'd like to disable the Application Verifier in Visual Studio C++ 2008 but, can't find how to do it.</p> <p align=left>I want to do this because it seems the compiler is not inlining the functions I forced to inline, so I've searched and found this (<a title="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99022" href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99022">http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99022</a>), so I want to disable the application verifier.</p> <p align=left>I went to Project, Properties, and selected &quot;Disable&quot; for the three fields, Heap Verification, Handle Verification and Locks Verification, selected Apply, but still it seems that it's not inlining my functions.</p> <p align=left>Even tried to create a new project, and the three fields are already not disabled, so I run again into the same problem.</p> <p align=left>Any idea?</p> <p align=left>TIA &amp; Regards ...</p> <p align=left> </p>Wed, 03 Sep 2008 08:13:38 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/909f698d-3d81-4765-b528-62f2a508c6abhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/909f698d-3d81-4765-b528-62f2a508c6abJeremy Kelleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jeremy%20KelleyVisual Studio 2008 and the .NET Framework 3.5 SP1 Now Available!<p align=left>We are very happy to announce immediate availability on the Microsoft Download Center of Service Pack 1 for Visual Studio 2008 and the .NET Framework 3.5.  You can find the download <a title="http://go.microsoft.com/fwlink/?LinkId=122094" href="http://go.microsoft.com/fwlink/?LinkId=122094"><font color="#0072bc">here</font></a>.<br></p> <p align=left> </p> <p align=left> </p> <p align=left> </p> <p align=left> </p>Wed, 13 Aug 2008 21:20:18 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/3314c263-48ce-4a0e-9092-02456af4944ahttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/3314c263-48ce-4a0e-9092-02456af4944aDavid M. Keanhttp://social.msdn.microsoft.com/Profile/en-US/?user=David%20M.%20KeanQuestion about the standalone version of Application Verifier?<p><span style="font-size:10pt;font-family:'Arial','sans-serif'">If you have a question about the standalone Application Verifier for Windows tool that does not ship with Visual Studio, you should head over to <a title="http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.win32.programmer.tools" href="http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.win32.programmer.tools">microsoft.public.win32.programmer.tools</a> newsgroup.  The standalone application verifier has been updated and contains new rules not available in the Visual StudioTeam Developer and Team Suite version.<span style="">  </span>It is available from: <a title="http://msdn.microsoft.com/en-us/library/ms644353(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/ms644353(VS.85).aspx">Application Verifier Download</a></span></p> <p><span style="font-size:10pt;font-family:'Arial','sans-serif'">  </span></p> <p><span style="font-size:10pt;font-family:'Arial','sans-serif'">If you have a question about the standalone Application Verifier for Windows CE tool that does not ship with Visual Studio, you should head over to <a title="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windowsce.testtools&amp;cat=en_US_5a653082-51fd-4494-89d7-af463b05c134&amp;lang=en&amp;cr=USnewsgroup." href="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windowsce.testtools&amp;cat=en_US_5a653082-51fd-4494-89d7-af463b05c134&amp;lang=en&amp;cr=USnewsgroup."><font color="#0000ff">microsoft.public.windowsCE.testtools</font></a> newsgroup.</span></p> <p><span style="font-size:10pt;font-family:'Arial','sans-serif'"> </span></p> <p><span style="font-size:10pt;font-family:'Arial','sans-serif'">This forum is for questions only about the Application Verifier feature that ships with Visual Studio Team Developer and Visual Studio Team Suite.</span></p>Fri, 27 Apr 2007 20:35:02 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/3d4d0502-d068-4782-b095-d2e7cfdbc40dhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/3d4d0502-d068-4782-b095-d2e7cfdbc40djim101http://social.msdn.microsoft.com/Profile/en-US/?user=jim101WM Emulator & Windows CE Test Kit<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left>Attempting to run Application Verifier in Windows CE Test Kit, however having some difficulty connecting CETK to Emulator. I've tested the connection of the CETK to Emulator under the Device Properties when configuring the Platform Manager and everything appears to be ok at that point. However, when I set to connect by clicking on the Connection button under the Device Properties, the Emulator is not listed under the Kit Server.</p> <p align=left> </p> <p align=left>I'm using the following tools:</p> <p align=left>- WM 5.0 MSFP Emulator Images: Pocket PC Emulator, Emulator Device Mgr. to Cradle</p> <p align=left>- WM Device Center (ActiveSync for Vista - Home Premium)</p> <p align=left>- Windows CE 5.0 Test Kit</p> <p align=left>- Application Verifier for WM 5.0</p> <p align=left>- Vista Home Premium</p> <p align=left> </p> <p align=left>any help is appreciated</p> <p align=left> </p> <p align=left> </p>Sat, 19 Jul 2008 06:32:27 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/cea410fa-4835-4f73-a3d4-f6972831b12dhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/cea410fa-4835-4f73-a3d4-f6972831b12dBramYehhttp://social.msdn.microsoft.com/Profile/en-US/?user=BramYehQuestion about virtual memory when using application verifier<p align=left><font face=Arial size=2></font> </p> <p>Dear All</p> <p align=left> </p> <p align=left>  When I use application verifier to test my application. I found it will throw exception and failed. This exception is from _beginthreadex or new operation. And I get API to print memory information. I found my applicaiton will use more phy-memory and virtual memory than before when I laungh appverifier.  </p> <p align=left>  And still I found the unusal memory situation. The virtual memory will be occupied to leave only 17-18MB (without appVerifier it will leave almost 500-1000MB,) I really don't know why it uses so much virtual memory and doesn't free them.</p> <p align=left>  Please help me about this question, why it uses more virtual memory and phy-memory when launching appVerifier than without appverifier. And how I can fix this problem. Thanks a lot.</p>Tue, 15 Jul 2008 03:33:03 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/8e9251eb-ba2a-4f0d-9f0a-a78e074dad74http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/8e9251eb-ba2a-4f0d-9f0a-a78e074dad74jim101http://social.msdn.microsoft.com/Profile/en-US/?user=jim101Application Verifier for WM + jar file<p align=left>hello,</p> <p align=left> </p> <p align=left>Wondering if the Application Verifier for Windows Mobile can be used to track jar files running on a Pocket PC?</p> <p align=left> </p> <p align=left> </p> <p align=left>any help is appreciated.</p> <p align=left> </p> <p align=left>jim</p>Fri, 11 Jul 2008 01:42:41 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/46c2a3f3-e4ef-47d7-9c5d-e7ea5a11cbd7http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/46c2a3f3-e4ef-47d7-9c5d-e7ea5a11cbd7sb123123http://social.msdn.microsoft.com/Profile/en-US/?user=sb123123APPLICATION_VERIFIER_LOCK_IN_FREED_HEAP<p align=left>How do i fix this problem during shutdown with a freeing an active critical section in the msxml code? the trace when this happens is this:</p> <p align=left> </p> <p align=left><font face=Courier>ChildEBP RetAddr  <br>0012b1b4 6e923760 ntdll!DbgBreakPoint<br>0012b3b8 6c7730ee vrfcore!VerifierStopMessageEx+0x4b5<br>0012b3dc 6c765fa9 vfbasics!VfBasicsStopMessage+0x8e<br>0012b424 6c769cc9 vfbasics!AVrfpFreeMemLockChecks+0x109<br>0012b440 6c76bd86 vfbasics!AVrfpFreeMemNotify+0x39<br>0012b458 773f168d vfbasics!AVrfpNtdllHeapFreeCallback+0x16<br>0012b474 6e877e97 ntdll!AVrfInternalHeapFreeNotification+0x4d<br>0012b4c8 773dafe1 verifier!AVrfDebugPageHeapDestroy+0x137<br>0012b4dc 7637098e ntdll!RtlDestroyHeap+0x7a<br>0012b4e8 6c76be6d kernel32!HeapDestroy+0xe<br>0012b4f8 71f9b30a vfbasics!AVrfpHeapDestroy+0x2d<br>0012b508 71f9b2da msxml3!heap_destroy+0x1f<br>0012b514 71f9b297 msxml3!_MP_HEAP_ENTRY::~_MP_HEAP_ENTRY+0x1c<br>0012b528 71f9aa2a msxml3!MpHeapDestroy+0x53<br>0012b530 71f9ae5d msxml3!MpHeapExit+0x18<br>0012b534 71f9ae49 msxml3!Memory_exit+0xa<br>0012b540 6e8759c9 msxml3!InitDllMain+0x104<br>0012b588 6e927fcb verifier!AVrfpStandardDllEntryPointRoutine+0x109<br>0012b5d0 6c77118e vrfcore!VfCoreStandardDllEntryPointRoutine+0x127<br>0012b628 7739e1c4 vfbasics!AVrfpStandardDllEntryPointRoutine+0x10e</font></p> <p align=left> </p> <p align=left>the initialization stack trace is here:</p> <p align=left> </p> <p align=left><font face=Courier>0047911c  7739cf8f ntdll!RtlInitializeCriticalSectionAndSpinCount+0x19<br>00479120  6c766885 vfbasics!AVrfpInitializeCriticalSectionCommon+0x135<br>00479124  6c766a02 vfbasics!AVrfpRtlInitializeCriticalSection+0x12<br>00479128  71f68dc9 msxml3!SafeInitializeCriticalSection+0x38<br>0047912c  71f68da0 msxml3!X_CRITICAL_SECTION::Initialize+0x12<br>00479130  71f7ba40 msxml3!NodeManager::New+0x5e<br>00479134  71f6fd92 msxml3!Document::init+0x52<br>00479138  71f6faee msxml3!_createDOMDocument+0x19<br>0047913c  71fa608c msxml3!CreateDOMDocument+0x3a<br>00479140  71f69b31 msxml3!ClassFactory_CreateInstance+0x50<br>00479144  7672750f ole32!CServerContextActivator::CreateInstance+0x172<br>00479148  7672705b ole32!ActivationPropertiesIn:<img alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif">elegateCreateInstance+0x108<br>0047914c  7672772d ole32!CApartmentActivator::CreateInstance+0x112<br>00479150  7672764f ole32!CProcessActivator::CCICallback+0x6d<br>00479154  76727609 ole32!CProcessActivator::AttemptActivation+0x2c<br>00479158  767275ba ole32!CProcessActivator::ActivateByContext+0x4f<br>0047915c  767276af ole32!CProcessActivator::CreateInstance+0x49<br>00479160  7672705b ole32!ActivationPropertiesIn:<img alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif">elegateCreateInstance+0x108<br>00479164  76727121 ole32!CClientContextActivator::CreateInstance+0xb0<br>00479168  7672705b ole32!ActivationPropertiesIn:<img alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif">elegateCreateInstance+0x108<br>0047916c  767272c5 ole32!ICoCreateInstanceEx+0x403<br>00479170  7674e2a2 ole32!CComActivator:<img alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif">oCreateInstance+0xd9<br>00479174  7674e203 ole32!CoCreateInstanceEx+0x38<br>00479178  7674e1bc ole32!CoCreateInstance+0x37<br>0047917c  00422bb3 NetSP!ATL::CComPtrBase&lt;MSXML2::IXMLDOMDocument&gt;::CoCreateInstance+0x73 [c:\program files\microsoft visual studio 8\vc\atlmfc\include\atlcomcli.h @ 234]<br>00479180  0041f70b NetSP!WinMail_Get_AttributeValue+0x7b [c:\v7\current\netsp\windowsmailset.cpp @ 276]<br>00479184  0041fb5a NetSP!WinMail_Get_NewsAccountFilename+0x10a [c:\v7\current\netsp\windowsmailset.cpp @ 312]<br>00479188  00417928 NetSP!WinMain+0xa98 [c:\v7\current\netsp\netsp.cpp @ 752]<br>0047918c  004289f6 NetSP!__tmainCRTStartup+0x286 [f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 589]<br></font></p> <p align=left> </p> <p align=left>Thanks</p>Mon, 02 Jun 2008 19:31:33 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/7f5e85c4-c715-43cf-af6f-e4917cfd7108http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/7f5e85c4-c715-43cf-af6f-e4917cfd7108leightonrhttp://social.msdn.microsoft.com/Profile/en-US/?user=leightonrApplication Verifier with Unit Test projects<p>I find the Application Verfifer a very useful tool.  I also like the Unit Testing support that comes with Visual Studio 2005 so we write our tests using managed C++ which calls our unmanaged C++ code which is built as a static library.</p> <p>However, we can't find a way of running a Unit Test through the Application Verifier in the VS 2005 IDE.  Is this possible ? We resort to doing it outside of the IDE by using the standalone version 3.3 of Application Verifier to instrument  mstest.exe itself and then run the Unit Tests from the command line i.e. </p> <p>C:\Program Files\Microsoft Visual Studio 8\VC&gt;mstest /testcontainer:&quot;\TestProject1.dll&quot; /noisolation</p> <p> </p> <p>Is there another way ?</p> <p><font face=Verdana></font> </p>Mon, 26 Feb 2007 15:24:59 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/170cb783-f4e3-485e-b146-6d2254a6d897http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/170cb783-f4e3-485e-b146-6d2254a6d897C Howellhttp://social.msdn.microsoft.com/Profile/en-US/?user=C%20HowellUsing the Standalone Appication Verifier with Web Applications<p><span style="font-size:10pt;font-family:Arial">Hi,</span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">I've recently downloaded the Application Verifier 3.4 standalone program to test our Web Application for Heaps, Locks and Handles. The first step is to add an application to monitor. Since it is a Web Application, I do not have any particular .exe or dlls that I can add. After some searching on the Web I found some documentation that leads me to believe I should add the following:</span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">aspnet_wp.exe</span></p> <p><span style="font-size:10pt;font-family:Arial">dllhost.exe</span></p> <p><span style="font-size:10pt;font-family:Arial">svchost.exe</span></p> <p><span style="font-size:10pt;font-family:Arial">inetinfo.exe</span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">Two questions:</span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">First question, since we are running our Web Application under IIS 6.0 is monitoring the aspnet_wp.exe going to do anything for me? Or should I be monitoring the w3wp.exe instead?</span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">Second question, it seems as though with the dllhost.exe (or at least I think this is the one that is causing it) in the list if I browse to our Web Application, perform a few tasks, leave it (without logging out), then go back about 15 minutes later, I get a cannot find server error message. I then have to restart IIS in order for the site to be available again. In the Web Server event viewer I'm getting the following error message:</span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">A process serving application pool 'Stage3AppPool' exceeded time limits during start up. The process id was '6048'. </span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">Stage3AppPool is the application pool that has been assigned to this particular Web Application (with Application Verifier turned off, I do not get the error shown above). Application Verifier documentation indicates that it will slow down the Web Application Response time, due to the testing overhead. Can anyone point me in the right direction with regards to how to stop the Application Pool ('Stage3AppPool') from timing out while monitoring the exe's listed above?</span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">Thanks, Calvin</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman" size=3> </font></p>Tue, 11 Dec 2007 22:52:23 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/ebc072d3-a5e2-4bd7-9579-cc294b744eebhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/ebc072d3-a5e2-4bd7-9579-cc294b744eebShruti00http://social.msdn.microsoft.com/Profile/en-US/?user=Shruti00Application verifier tool<p>Hi</p> <p>I want to use a good memory leakage tool for windows mobile 5.0. I found a tool Application verifier for windows mobile 5.0. I installed this tool and platform builder. But when I try to connect it only shows CE default device. Its not showing windows mobile devices. I found out the document with this tool. But not getting how to use this tool with visual studio. Please let me know if anybody use this tool or there is another tool for finding the memory leakage on windows mobile 5.0 device as well as emulator.</p> <p>thnx n regards</p>Sun, 10 Sep 2006 16:12:07 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/96c58851-65e7-4866-a663-bd398cd92ba8http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/96c58851-65e7-4866-a663-bd398cd92ba8Tony3Ahttp://social.msdn.microsoft.com/Profile/en-US/?user=Tony3AApplication Verifier problem, Unknown results<p>I have an .dll I am trying to run the Application Verifier on a Windows Mobile 5 device. I have placed the .map and .cod files in the Windows directory on the device. After running, the results from the Application Verifier contains UNKNOWN.  How can I get rid of the unknown results.</p> <p> </p> <p> </p># DESCRIPTION END<br>| shim_heap.dll 16 | 1 nk.exe 9055110c'Callstack:<br>| shim_heap.dll 16 | 0 nk.exe 9055110c'   0x34ed6b78: UNKNOWN!UNKNOWN + 00ed6b78h<br>| shim_heap.dll 16 | 0 nk.exe 9055110c'   0x34ed984c: UNKNOWN!UNKNOWN + 00ed984ch<br>| shim_heap.dll 16 | 0 nk.exe 9055110c'   0x34edabbc: UNKNOWN!UNKNOWN + 00edabbch<br>| shim_heap.dll 16 | 0 nk.exe 9055110c'   0x34edaccc: UNKNOWN!UNKNOWN + 00edaccch<br>| shim_heap.dll 16 | 0 nk.exe 9055110c'   0x34f317bc: UNKNOWN!UNKNOWN + 00f317bch<br>| shim_heap.dll 16 | 0 nk.exe 9055110c'   0x34fea664: UNKNOWN!UNKNOWN + 00fea664h<br>| shim_heap.dll 16 | 1 nk.exe 9055110c'Leaked items:<br>| shim_heap.dll 16 | 1 nk.exe 9055110c'   0x003463d0     356 bytes, thread: 0x7276185e, checkpoint 0<br>| shim_heap.dll 16 | 1 nk.exe 9055110c'      Total: 356 bytes<br># LOGENTRY shim_heap.dll 17 'Potential leak.     1 items (   16 bytes) at 0x34ed6b78Fri, 01 Jun 2007 17:47:06 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/cdfbae69-8e02-4aa5-a376-7e60a5a8f032http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/cdfbae69-8e02-4aa5-a376-7e60a5a8f032lara_johnsonhttp://social.msdn.microsoft.com/Profile/en-US/?user=lara_johnsonApplication Verifier Tool for Windows Mobile 6.0<p align=left><font face=Arial></font> </p> <p>Hi all,</p> <p align=left> </p> <p align=left>is there an <font size=2>Application Verifier Tool for Windows Mobile 6.0 like for Windows Mobile 5.0, and where it can be downloaded? Now I am trying to test applicaion written for Windows Mobile 6.0 with Windows Embedded CE 6.0 Test Kit, but is doesn't work.</font></p> <p align=left> </p> <p align=left>Thanks,</p> <p align=left>Lara </p>Mon, 03 Dec 2007 15:01:14 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/d7e2d830-b041-428a-9643-3b0ffebf0a03http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/d7e2d830-b041-428a-9643-3b0ffebf0a03VinodRauthttp://social.msdn.microsoft.com/Profile/en-US/?user=VinodRautSHGetPathFromIDList crashes at Application Verifier...<p align=left><font face=Arial size=2></font> </p><span> <p align=left><font face=Arial size=2>Dear All,</font></p> <p align=left> </p> <p align=left>I have used SHBrowseForFolder in my application. I have handled <font size=2>BrowseCallbackProc. So when selection changes I have used <font size=2><strong>SHGetPathFromIDList</strong>, but it fails at Nokia phone browser with Application Verifier. But without AV it erturns the path as : <strong>::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{416651E4-9C3C-11D9-8BDE-F66BAD1E3F3A}.</strong> So does anybody knows the reason for it &amp; how to pass it through Application Verifier.</font></font></p> <p align=left><font size=2><font size=2></font></font> </p> <p align=left><font size=2><font size=2>Thanx &amp; Regards,</font></font></p> <p align=left><font size=2><font size=2>Vinod.</p></font></font></span>Mon, 17 Sep 2007 05:24:13 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/8d881e9c-2ce6-4de1-9f6c-776ce64fb8dahttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/8d881e9c-2ce6-4de1-9f6c-776ce64fb8daClaus Brodhttp://social.msdn.microsoft.com/Profile/en-US/?user=Claus%20BrodApplication Verifier fails to initialize on Windows XP x64<font face="Verdana, Arial, Helvetica" size=2>Hi, <br><br>hope this is the right newsgroup for my question. If not, my apologies. <br><br>I just installed the 64-bit standalone version of Application Verifier (v3.3, for x64  CPUs) on my system which runs Windows XP x64. I'm now trying to use it with a 64-bit application, but can't get Application Verifier to log anything. <br><br>When I run my executable in the debugger, I see the following messages: <br><br>AVRF: foo.exe: pid 0x1498: flags 0x80000000: application verifier enabled <br>'foo.exe': Loaded 'C:\WINDOWS\system32\verifier.dll', Exports loaded. <br>AVRF: failed to initialize verifier logging (C000003A). <br>AVRF: verifier.dll provider initialized for foo.exe with flags 0x80000000 <br><br>The application starts up just fine - but there are no log files and no test results afterwards. <br><br>I found an old posting in a newsgroup where somebody was trying to use the  64-bit version of Application Verifier with a 32-bit app, and also failed to  get any logs. However, in my case, both the Verifier and the app are 64-bit. <br><br>Thanks for any help or pointers! <br><br>Claus</font>Fri, 27 Apr 2007 11:31:13 Z2008-10-08T22:42:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/ed8d0e9e-785d-4bbc-8909-4ece3877d832http://social.msdn.microsoft.com/Forums/en-US/vstsappverifier/thread/ed8d0e9e-785d-4bbc-8909-4ece3877d832Ian Huffhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ian%20HuffVisual Studio Team System 2005 Application Verifier FAQ<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">Here is a FAQ provided by the Application Verifier team to answers some of the most common questions about the Application Verifier tool that is included with Visual Studio Team Suite and Team Developer Editions.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"></span> </p><span style="font-size:10pt;font-family:Arial"> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: What is Application Verifier?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: Application Verifier is a runtime verification tool used to find bugs in Windows applications. Application Verifier is supported only for native (unmanaged) code. Since it is a runtime tool, the application code needs to be exercised in order to be verified. Good test coverage is therefore essential. </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: How can I get Application Verifier?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: There are two versions of Application Verifier:</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">- A stand alone version that can be downloaded from <a target="_blank" title="http://www.microsoft.com/downloads/details.aspx?FamilyID=bd02c19c-1250-433c-8c1b-2619bd93b3a2&amp;DisplayLang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=bd02c19c-1250-433c-8c1b-2619bd93b3a2&amp;DisplayLang=en"><u><font color="#800080">http://www.microsoft.com/downloads/details.aspx?FamilyID=bd02c19c-1250-433c-8c1b-2619bd93b3a2&amp;DisplayLang=en</font></u></a></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">- The integrated Application Verifier included in the Visual Studio Team Suite and Visual Studio Team System for Developers versions of Visual Studio 2005.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: What are the differences between the standalone version and the integrated version?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: The major differences are:</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">- Only a subset of the checks available in the standalone version is available in the integrated version. Heaps, Handles and Locks checks are available in Visual Stdio.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">- With the standalone version, the user needs to enable verifier settings using the tool and then launch his application. The verifier settings persist until the user deletes them using the tool. With the integrated version, verifier settings can be altered in the project property pages. These settings are applicable only when the user chooses to debug the application using Application Verifier by clicking on Debug-&gt;Start With Application Verifier.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: How do I launch my app using Application Verifier in Visual Studio?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: Open your VC++ project in Visual Studio. Go to project properties and select "Application Verifier," enable desired settings or leave them at their default settings (all the checks are enabled by default). Click on Debug-&gt;Start With Application Verifier to start debugging with application verifier enabled.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: Why do I get the following message when I click on Debug-&gt;Start With Application Verifier?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">""Access denied. You need administrative credentials to enable instrumentation settings on the selected executable image &lt;&lt;Image_Name&gt;&gt; on machine &lt;&lt;Machine_Name&gt;&gt;. Contact your system administrator for assistance"</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: You need administrative credentials to use Application Verifier</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: What Operating Systems support Application Verifier?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: Application Verifier is supported on Windows XP and Windows 2003. The following message is displayed on Windows 2000 when the integrated Application Verifier is used: "Application Verifier is not supported on the Operating System running on your machine &lt;&lt;Machine_Name&gt;&gt;. Please upgrade to Windows XP or above"</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: Why am I getting the following message?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">"Application Verifier requires an updated system file that is not detected on your machine &lt;&lt;Machine_Name&gt;&gt;. Do you want to go to the Windows download center to get the update?"</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: Your current Operating System requires an update in order to use Application Verifier. Clicking on OK will take you to the Microsoft download center where you can get the update.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: What kinds of errors are caught by the integrated Application Verifier in VS?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: The integrated Application Verifier catches heap, handle and lock errors in native win32 applications. The most common of these are memory corruptions, which are very hard to troubleshoot. It catches invalid handle usage and invalid critical section usage as well. Application Verifier makes these difficult debugging problems easier to solve.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial">Q: Where can I find more information on Application Verifier?</span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><b style=""><span style="font-size:10pt;font-family:Arial"> </span></b></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:Arial">A: MSDN has great documentation on both the standalone and the integrated Application Verifier.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman" size=3> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"></span> </p>Thu, 20 Apr 2006 19:59:04 Z2008-10-08T22:42:13Z