<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Access violation in sample program in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943899#M17745</link>
    <description>I don't see an error when I run the sample in the release mode. It is only visible in debug mode as well in the sample program (in ..SamplesAdvancedOpenGLPuzzle) as in my own program. &lt;BR /&gt;I just try it again and I found, that the access violation only occurs when running the program via "Start debug" and "Go" and only after pressing F2 several (6) times. It does not appear when executing the debug version of puzzle.exe directly.</description>
    <pubDate>Sat, 24 Mar 2001 00:49:35 GMT</pubDate>
    <dc:creator>nijhuis</dc:creator>
    <dc:date>2001-03-24T00:49:35Z</dc:date>
    <item>
      <title>Access violation in sample program</title>
      <link>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943897#M17743</link>
      <description>I get an access violation in my program in a part that was copied from the sample program Puzzle (...SamplesOpenGLPuzzle). It appears that the error also exist in the sample program. Is this error specific in my environment (CVF6.5A in Windows 95) or does this error happen for others too?  &lt;BR /&gt;The error is normally not a problem, because the exception status for access violation is "stop if not handled", but apparently it is handled and it goes on without problem. But when you debug the program you see the access violation in the output window and when the exception is set to "stop always" it stops at a position where I do not see any problem.  &lt;BR /&gt;Sometimes the program stops when calling SetDCPixelFormat in the Wndproc and sometimes it stops when performing a rotation via the key F1, F2 or F3.  &lt;BR /&gt;  &lt;BR /&gt;My question is: do others experience the same error?  &lt;BR /&gt;  &lt;BR /&gt;Though the program does not encounter further problems, I assume something is not set good. An access violation should not occur, handled or not handled. &lt;BR /&gt; &lt;BR /&gt;Guus.</description>
      <pubDate>Fri, 23 Mar 2001 19:22:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943897#M17743</guid>
      <dc:creator>nijhuis</dc:creator>
      <dc:date>2001-03-23T19:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Access violation in sample program</title>
      <link>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943898#M17744</link>
      <description>There may be a problem with the OpenGL implementation for Windows 95.  I have run this example on Windows 95, 98, NT and 2000 and had no trouble.  Do you see an error when this is not run in the debugger?&lt;BR /&gt;&lt;BR /&gt;I have worked on this example a lot, and never saw an access violation.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 23 Mar 2001 22:58:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943898#M17744</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-03-23T22:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Access violation in sample program</title>
      <link>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943899#M17745</link>
      <description>I don't see an error when I run the sample in the release mode. It is only visible in debug mode as well in the sample program (in ..SamplesAdvancedOpenGLPuzzle) as in my own program. &lt;BR /&gt;I just try it again and I found, that the access violation only occurs when running the program via "Start debug" and "Go" and only after pressing F2 several (6) times. It does not appear when executing the debug version of puzzle.exe directly.</description>
      <pubDate>Sat, 24 Mar 2001 00:49:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943899#M17745</guid>
      <dc:creator>nijhuis</dc:creator>
      <dc:date>2001-03-24T00:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Access violation in sample program</title>
      <link>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943900#M17746</link>
      <description>I can't reproduce this on my Windows 2000 system.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 24 Mar 2001 02:20:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943900#M17746</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-03-24T02:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Access violation in sample program</title>
      <link>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943901#M17747</link>
      <description>You might read the Microsoft Knowledge Base article Q240896, OpenGL Program May Cause an Invalid Page Fault Error Message if the Window Is Moved or Resized (&lt;A href="http://support.microsoft.com/support/kb/articles/Q240/8/96.ASP?LN=EN-US&amp;amp;SD=gn&amp;amp;FR=0&amp;amp;qry=OpenGL%20support&amp;amp;rnk=3&amp;amp;src=DHCS_MSPSS_gn_SRCH&amp;amp;SPR=W95"&gt;click here to view Q240896&lt;/A&gt;). &lt;BR /&gt; &lt;BR /&gt;Mike</description>
      <pubDate>Sat, 24 Mar 2001 07:56:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943901#M17747</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-03-24T07:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Access violation in sample program</title>
      <link>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943902#M17748</link>
      <description>Oh, I recognize this problem.  The access violation is an array out of bounds. &lt;BR /&gt;You can force it to happen if you compile with a check for array out of bounds and run it after going to your control panel and changing the settings on your &lt;BR /&gt;display to a color palette of 256 colors.  The routine does a malloc to allocate the storage for the array(palettte%palPalEntry), but it is declared  with only 1 element.</description>
      <pubDate>Thu, 12 Apr 2001 06:20:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943902#M17748</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-12T06:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Access violation in sample program</title>
      <link>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943903#M17749</link>
      <description>I see what you mean, but in my case the flag PFD_NEED_PALETTE is not set and so the code for the palette structure is skipped. &lt;BR /&gt;This time the error occurs in the routine SetPixelFormat, but in the Puzzle-example it also happens on other points in the program. &lt;BR /&gt; &lt;BR /&gt;Guus</description>
      <pubDate>Thu, 12 Apr 2001 18:16:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Access-violation-in-sample-program/m-p/943903#M17749</guid>
      <dc:creator>nijhuis</dc:creator>
      <dc:date>2001-04-12T18:16:19Z</dc:date>
    </item>
  </channel>
</rss>

