<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 1/28/11 11:54 AM, Janne Hakonen wrote:
    <blockquote cite="mid:BLU154-w583F8A47A194F114ED3D43ADE10@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      &gt; Now, when I ran these tests on Testbot using all base VMs,
      the tests were run also on W2KPROSP4 and WNT4WSSP6. However, the <br>
      &gt; function seems to buggy in those. It throws access violation
      whenever it is not skipping frames.<br>
      <br>
      &gt; Is there some way I could prevent/skip these tests to be run
      on Windows NT4 and 2000? <br>
      <br>
      Ah, no matter, I think I've got it. Adding following lines to
      start allows the tests to be skipped on NT and 2000:<br>
      <br>
      __TRY<br>
      {<br>
      &nbsp;&nbsp;&nbsp; pRtlCaptureStackBackTrace(0, 62, callers, NULL);<br>
      }<br>
      __EXCEPT_ALL<br>
      {<br>
      &nbsp;&nbsp;&nbsp; win_skip("RtlCaptureStackBackTrace threw SEH exception, "<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "most likely running on Windows NT or 2000\n");<br>
      &nbsp;&nbsp;&nbsp; return;<br>
      }<br>
      __ENDTRY<br>
      <br>
    </blockquote>
    Did you try this on WindowsXP or Windows7 to make sure that the
    win_skip did not function on those platforms?&nbsp; My understanding is
    that win_skip works on all Windows platforms not just WindowsNT or
    Windows2000.<br>
    <br>
    Also, it is custom to mark your resubmissions with corrections as
    [try x].&nbsp; Makes it easier to determine what you are doing.<br>
    <br>
    James McKenzie<br>
    <br>
  </body>
</html>