<?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: problems with XPlaceBitmap in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818920#M46637</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Sorry for being slighly incorrect with saying its works. All steps before are working. &lt;BR /&gt;XPlaceBitmap does not work. (its has worked on VS2003 German with IVF 9.0.025) No Bitmap is loaded.&lt;BR /&gt;&lt;BR /&gt;At this place thanks for the tool XEffort. It has helpt me a lot.&lt;BR /&gt;&lt;BR /&gt;Frank&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Jan 2007 15:55:38 GMT</pubDate>
    <dc:creator>tropfen</dc:creator>
    <dc:date>2007-01-15T15:55:38Z</dc:date>
    <item>
      <title>problems with XPlaceBitmap</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818916#M46633</link>
      <description>&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;using the source code at the end i have problems with the line:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;bSt=XPlaceBitmap(xDC1, xBmp1, 1,1,pBreiteDarstellung,pHoeheDarstellung)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;as the result i am getting bSt == .false.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;What is wrong with the source code? Everything else is working, from my point of view.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thanks in advance&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Frank&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;source code :&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;xDC1 = XMemoryDC(pBreiteDarstellung,pHoeheDarstellung)&lt;BR /&gt;CALL XSetViewport(xDC1, 1, 1, pBreiteDarstellung,pHoeheDarstellung)&lt;BR /&gt;bSt = XFillViewport(xDC1, X_BRUSH(BS_SOLID, XCOLOR_blue, 0))&lt;BR /&gt;bSt = XGetBitmap(xDC1, xBmp1,1, 1, pBreiteDarstellung,pHoeheDarstellung)&lt;BR /&gt;bSt = XSaveBitmap(xBmp1, "D:	empTemp1.bmp" ) &lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;bSt = XDeleteBitmap(xBmp1)&lt;BR /&gt;bSt = XDeleteDC(xDC1)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;xDC1 = XMemoryDC(pBreiteDarstellung,pHoeheDarstellung)&lt;BR /&gt;bSt = XFillViewport(xDC1, X_BRUSH(BS_SOLID, XCOLOR_yellow, 0))&lt;BR /&gt;CALL XSetViewport(xDC1, 1, 1, pBreiteDarstellung,pHoeheDarstellung)&lt;BR /&gt;bSt=XCreateBitmap(xBmp1, "D:	empTemp1.bmp") &lt;BR /&gt;bSt = XSaveBitmap(xBmp1, "D:	empTemp2.bmp")&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;bSt=XPlaceBitmap(xDC1, xBmp1, 1,1,pBreiteDarstellung,pHoeheDarstellung)&lt;/FONT&gt; &lt;BR /&gt;bSt = XDeleteBitmap(xBmp1)&lt;BR /&gt;bSt = XDeleteDC(xDC1)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2007 19:14:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818916#M46633</guid>
      <dc:creator>tropfen</dc:creator>
      <dc:date>2007-01-11T19:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: problems with XPlaceBitmap</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818917#M46634</link>
      <description>What are these "X" routine names? Is this from xeffort?</description>
      <pubDate>Fri, 12 Jan 2007 00:38:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818917#M46634</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-01-12T00:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: problems with XPlaceBitmap</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818918#M46635</link>
      <description>sorry that i have forgotten some information.
&lt;BR /&gt;
&lt;BR /&gt;My system is based on:
&lt;BR /&gt;Win XP Prof German SP 2
&lt;BR /&gt;VS2005 standard German
&lt;BR /&gt;IVF 9.1.033
&lt;BR /&gt;XEffort 1.2.20
&lt;BR /&gt;
&lt;BR /&gt;Thanks for help in advance
&lt;BR /&gt;Frank</description>
      <pubDate>Fri, 12 Jan 2007 14:16:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818918#M46635</guid>
      <dc:creator>tropfen</dc:creator>
      <dc:date>2007-01-12T14:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: problems with XPlaceBitmap</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818919#M46636</link>
      <description>&lt;P&gt;Well, no reason to worry if it works &lt;IMG src="https://community.intel.com/ISN/Community/en-US/emoticons/emotion-4.gif" alt="Smiley with tongue out [:-P]" /&gt;&lt;/P&gt;
&lt;P&gt;Out of curiosity, what does debugger say when you type &lt;STRONG&gt;bSt, x&lt;/STRONG&gt; in the Watch or Quick Watch window? If it's non-zero, there's even less to worry. &lt;/P&gt;
&lt;P&gt;The reason might be a "bug" in Xeffort, whereby I (ab)used VF free mixing of integer/logical types too liberally, so you might get false negatives for logical variables. So, erm, don't trust the return value TOO much. I'll probably fix it... some day.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2007 18:11:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818919#M46636</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-01-12T18:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: problems with XPlaceBitmap</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818920#M46637</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Sorry for being slighly incorrect with saying its works. All steps before are working. &lt;BR /&gt;XPlaceBitmap does not work. (its has worked on VS2003 German with IVF 9.0.025) No Bitmap is loaded.&lt;BR /&gt;&lt;BR /&gt;At this place thanks for the tool XEffort. It has helpt me a lot.&lt;BR /&gt;&lt;BR /&gt;Frank&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2007 15:55:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818920#M46637</guid>
      <dc:creator>tropfen</dc:creator>
      <dc:date>2007-01-15T15:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: problems with XPlaceBitmap</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818921#M46638</link>
      <description>Um, I misread your initial comment ("everything &lt;I&gt;else&lt;/I&gt; works"). But I don't have an idea why it fails -- XPlaceBitmap just uses BitBlt or StretchBlt APIs, and the reasons for failure as stated in MSDN don't look plausible. What does GetLastError return if you call it immediately after XPlaceBitmap?&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2007 22:57:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818921#M46638</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-01-15T22:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: problems with XPlaceBitmap</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818922#M46639</link>
      <description>Hello,&lt;BR /&gt; iSt=GetLastError() gives the result iSt=6&lt;BR /&gt;Frank&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2007 03:16:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818922#M46639</guid>
      <dc:creator>tropfen</dc:creator>
      <dc:date>2007-01-17T03:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: problems with XPlaceBitmap</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818923#M46640</link>
      <description>That's an "invalid handle", which means that either XCreateDC or XCreateBitmap have failed, and either xDC1%hDC or xBmp1%hBmp are invalid (likely, zero). I can't tell the reason with available data (invalid path to the .bmp file?) but some more debugging and GetLastErrors (list of error codes can be found &lt;A href="http://msdn2.microsoft.com/en-us/library/ms681382.aspx"&gt;here&lt;/A&gt;)&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2007 20:10:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/problems-with-XPlaceBitmap/m-p/818923#M46640</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-01-17T20:10:41Z</dc:date>
    </item>
  </channel>
</rss>

