<?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 Problems with Quickwin Library on upgradt from 11.0 to 11.1 and on 64bit system in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866730#M70948</link>
    <description>We are using Microsoft Visual Studio 2008 with Intel Visual Fortran compiler 11.0.66 on a Windows 32 bit system (Windows XP). We are running a Quickwin application. Recently we have installed Intel Visual Fortran Compiler 11.1.51 (ia32) on one of our computers. Also we have installed the application on a new computer with a Windows 64 bit system (Windows 7) with Intel Visual Fortran Compiler 11.1.51 (intel64).&lt;BR /&gt;&lt;BR /&gt;In both cases the software runs without problems, apart from problems with setting properties in windows of the type windowconfig. In both cases, attributes such as "numxpixels" and "numtextcols" can be changed, whereas setting "title" to a new value does not have any effect. Trying to set the "fontsize" attribute on the 32-bit system even leads to a runtime-error: (forrtl: severe(157): Program Exception - access violation ... Stack Trace terminated abnormally. This was never a problem with earlier compiler versions.&lt;BR /&gt;&lt;BR /&gt;Does anybody know what is causing this? I have attached some example code.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; use ifqwin&lt;BR /&gt; implicit none  &lt;BR /&gt;&lt;BR /&gt; type(windowconfig) wind&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; status = getwindowconfig(wind)&lt;BR /&gt; ...	&lt;BR /&gt;&lt;BR /&gt; wind%numxpixels   =  iwxgs&lt;BR /&gt; wind%numypixels   =  iwygs&lt;BR /&gt; wind%numtextcols  =  ncols&lt;BR /&gt; wind%numtextrows  =  nrows&lt;BR /&gt; wind%numcolors    =  -1&lt;BR /&gt; wind%fontsize     =  Z'0008000C'&lt;BR /&gt; wind%title        =  "This is a title"C&lt;BR /&gt; wind%bitsperpixel = -1&lt;BR /&gt;&lt;BR /&gt; status = setwindowconfig(wind)&lt;BR /&gt; if (status.eq.0) status = setwindowconfig(feapgraph)&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt; numfonts=initializefonts()&lt;BR /&gt; ...&lt;BR /&gt; status = setfont( 't''Arial''h16b' )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks...&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Dec 2009 15:08:03 GMT</pubDate>
    <dc:creator>schuerg</dc:creator>
    <dc:date>2009-12-08T15:08:03Z</dc:date>
    <item>
      <title>Problems with Quickwin Library on upgradt from 11.0 to 11.1 and on 64bit system</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866730#M70948</link>
      <description>We are using Microsoft Visual Studio 2008 with Intel Visual Fortran compiler 11.0.66 on a Windows 32 bit system (Windows XP). We are running a Quickwin application. Recently we have installed Intel Visual Fortran Compiler 11.1.51 (ia32) on one of our computers. Also we have installed the application on a new computer with a Windows 64 bit system (Windows 7) with Intel Visual Fortran Compiler 11.1.51 (intel64).&lt;BR /&gt;&lt;BR /&gt;In both cases the software runs without problems, apart from problems with setting properties in windows of the type windowconfig. In both cases, attributes such as "numxpixels" and "numtextcols" can be changed, whereas setting "title" to a new value does not have any effect. Trying to set the "fontsize" attribute on the 32-bit system even leads to a runtime-error: (forrtl: severe(157): Program Exception - access violation ... Stack Trace terminated abnormally. This was never a problem with earlier compiler versions.&lt;BR /&gt;&lt;BR /&gt;Does anybody know what is causing this? I have attached some example code.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; use ifqwin&lt;BR /&gt; implicit none  &lt;BR /&gt;&lt;BR /&gt; type(windowconfig) wind&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; status = getwindowconfig(wind)&lt;BR /&gt; ...	&lt;BR /&gt;&lt;BR /&gt; wind%numxpixels   =  iwxgs&lt;BR /&gt; wind%numypixels   =  iwygs&lt;BR /&gt; wind%numtextcols  =  ncols&lt;BR /&gt; wind%numtextrows  =  nrows&lt;BR /&gt; wind%numcolors    =  -1&lt;BR /&gt; wind%fontsize     =  Z'0008000C'&lt;BR /&gt; wind%title        =  "This is a title"C&lt;BR /&gt; wind%bitsperpixel = -1&lt;BR /&gt;&lt;BR /&gt; status = setwindowconfig(wind)&lt;BR /&gt; if (status.eq.0) status = setwindowconfig(feapgraph)&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt; numfonts=initializefonts()&lt;BR /&gt; ...&lt;BR /&gt; status = setfont( 't''Arial''h16b' )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks...&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Dec 2009 15:08:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866730#M70948</guid>
      <dc:creator>schuerg</dc:creator>
      <dc:date>2009-12-08T15:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Quickwin Library on upgradt from 11.0 to 11.1</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866731#M70949</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Would you please attach a complete, buildable example that shows the problem? Too often an excerpt is missing critical code.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Dec 2009 15:24:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866731#M70949</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-12-08T15:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Quickwin Library on upgradt from 11.0 to 11.1</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866732#M70950</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Would you please attach a complete, buildable example that shows the problem? Too often an excerpt is missing critical code.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Ok, i have created a little project that displays the behaviour i do not understand. I will paste the source code. If I run the program as shown, I get the above mentioned run time error. If I comment out the two lines in the code "window1%fontsize     = #0008000E" and "window2%fontsize     = #0008000E" OR the do-loop the program runs ok, but the titles of the two windows are not shown.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; PROGRAM HELLO&lt;BR /&gt; &lt;BR /&gt; integer i,j&lt;BR /&gt; do i=1,3&lt;BR /&gt; j = i+1&lt;BR /&gt; end do&lt;BR /&gt; &lt;BR /&gt; call routine1&lt;BR /&gt; call routine2&lt;BR /&gt; &lt;BR /&gt; END PROGRAM&lt;BR /&gt; &lt;BR /&gt; subroutine routine1&lt;BR /&gt;&lt;BR /&gt; use ifqwin&lt;BR /&gt;&lt;BR /&gt; implicit none  &lt;BR /&gt;&lt;BR /&gt; type(qwinfo) winfo&lt;BR /&gt; type(windowconfig) window1&lt;BR /&gt; integer*4 status&lt;BR /&gt; integer*2 nxspix,nyspix,nrows,ncols&lt;BR /&gt; integer*2 nx1pix,ny1pix &lt;BR /&gt; integer(2) numfonts&lt;BR /&gt; real xfac1,yfac1&lt;BR /&gt; &lt;BR /&gt;c      open (unit=0,FILE='CON')       &lt;BR /&gt; &lt;BR /&gt; status = getwindowconfig(window1)   &lt;BR /&gt; nxspix = window1%numxpixels&lt;BR /&gt; nyspix = window1%numypixels&lt;BR /&gt; ncols  = window1%numtextcols&lt;BR /&gt; nrows  = window1%numtextrows&lt;BR /&gt;&lt;BR /&gt; xfac1 = 45./100.&lt;BR /&gt; yfac1 = 95./100. &lt;BR /&gt; nx1pix = nxspix*xfac1&lt;BR /&gt; ny1pix = nyspix*yfac1&lt;BR /&gt; nrows = 1000&lt;BR /&gt; ncols = 300&lt;BR /&gt;&lt;BR /&gt; window1%numxpixels   =  nx1pix&lt;BR /&gt; window1%numypixels   =  ny1pix&lt;BR /&gt; window1%numtextcols  =  ncols&lt;BR /&gt; window1%numtextrows  =  nrows&lt;BR /&gt; window1%numcolors    =  -1&lt;BR /&gt; window1%fontsize     = #0008000E&lt;BR /&gt;c      window1%fontsize     = Z'0008000C'&lt;BR /&gt; window1%title        = "window 1"C&lt;BR /&gt; window1%bitsperpixel = -1&lt;BR /&gt; window1%mode         = QWIN$SCROLLDOWN&lt;BR /&gt; &lt;BR /&gt; status = setwindowconfig(window1)&lt;BR /&gt; if (status.eq.0) status = setwindowconfig(window1)&lt;BR /&gt;&lt;BR /&gt; status = displaycursor($gcursoron)&lt;BR /&gt;&lt;BR /&gt; status = SETBKCOLOR(15) &lt;BR /&gt; status = SETTEXTCOLOR(0) &lt;BR /&gt; CALL CLEARSCREEN ($GCLEARSCREEN)&lt;BR /&gt; &lt;BR /&gt; status = getwsizeqq(0, QWIN$SIZECURR, winfo)&lt;BR /&gt; winfo%type = QWIN$SET&lt;BR /&gt; winfo%x  = 0&lt;BR /&gt; winfo%y  = 0&lt;BR /&gt; winfo%w  = nx1pix&lt;BR /&gt; winfo%h  = ny1pix&lt;BR /&gt;&lt;BR /&gt; status   = setwsizeqq(0,winfo)&lt;BR /&gt;&lt;BR /&gt; numfonts=initializefonts()&lt;BR /&gt; status = setfont( 't''Arial''h16b' )&lt;BR /&gt; status =  FOCUSQQ(0)                 &lt;BR /&gt; &lt;BR /&gt; end&lt;BR /&gt; &lt;BR /&gt; subroutine routine2&lt;BR /&gt;&lt;BR /&gt; use ifqwin&lt;BR /&gt; implicit none  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; integer*2               iwxs,iwys,iwxgs,iwygs&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; type(qwinfo) winfo&lt;BR /&gt; type(windowconfig) window2&lt;BR /&gt; integer isw&lt;BR /&gt; integer status&lt;BR /&gt; integer*2 nrows,ncols&lt;BR /&gt; integer(2) numfonts&lt;BR /&gt;&lt;BR /&gt;c     Open Child Graphic Window&lt;BR /&gt; open (unit=2,file='USER') &lt;BR /&gt;&lt;BR /&gt; status = getwindowconfig(window2)&lt;BR /&gt; iwxs = window2%numxpixels&lt;BR /&gt; iwys = window2%numypixels&lt;BR /&gt; ncols  = window2%numtextcols&lt;BR /&gt; nrows  = window2%numtextrows&lt;BR /&gt;&lt;BR /&gt; iwxgs = iwxs*0.8  &lt;BR /&gt; iwygs = iwys*0.8&lt;BR /&gt;&lt;BR /&gt; window2%numxpixels   =  iwxgs&lt;BR /&gt; window2%numypixels   =  iwygs&lt;BR /&gt; window2%numtextcols  =  ncols&lt;BR /&gt; window2%numtextrows  =  nrows&lt;BR /&gt; window2%numcolors    =  -1&lt;BR /&gt; window2%fontsize     = #0008000E&lt;BR /&gt;c      window2%fontsize     = Z'0008000C'&lt;BR /&gt; window2%title        = "window 2"C      &lt;BR /&gt;&lt;BR /&gt; window2.bitsperpixel = -1&lt;BR /&gt; status = setwindowconfig(window2)&lt;BR /&gt; if (status.eq.0) status = setwindowconfig(window2)&lt;BR /&gt;&lt;BR /&gt; status = SETBKCOLOR(0)  &lt;BR /&gt; CALL CLEARSCREEN ($GCLEARSCREEN)&lt;BR /&gt;&lt;BR /&gt; winfo%type = QWIN$SET&lt;BR /&gt; winfo%x  = 0&lt;BR /&gt; winfo%y  = 0&lt;BR /&gt; winfo%w  = iwxgs&lt;BR /&gt; winfo%h  = iwygs&lt;BR /&gt; status   = setwsizeqq(1,winfo)&lt;BR /&gt;&lt;BR /&gt; status = CLICKMENUQQ(QWIN$TILE) &lt;BR /&gt;&lt;BR /&gt; numfonts=initializefonts()&lt;BR /&gt; status = setfont( 't''Arial''h16b' )&lt;BR /&gt; &lt;BR /&gt; return &lt;BR /&gt; end&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 08 Dec 2009 16:42:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866732#M70950</guid>
      <dc:creator>schuerg</dc:creator>
      <dc:date>2009-12-08T16:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Quickwin Library on upgradt from 11.0 to 11.1</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866733#M70951</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Thanks - I can reproduce this. Very, very strange. Why commenting out the DO loop has any effect, I don't know. It is clear that there is data corruption going on, but where and why... ? I will escalate this to the developers and see what they say.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Dec 2009 20:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866733#M70951</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-12-08T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Quickwin Library on upgradt from 11.0 to 11.1</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866734#M70952</link>
      <description>My name is Bob Mance and I've been working on this problem with Microsoft. I've posted a solution that works for yours, and several other reproducers posted in a separate (longer) thread. You can pick up a new ifqwin.lib file from that post, #94 I believe. The library was built for a 12.0/12.1 release and can be used on XP or Windows 7.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=70026&amp;amp;p=10"&gt;http://software.intel.com/en-us/forums/showthread.php?t=70026&amp;amp;p=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you try it and what you see. I have your application running here fine.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Jan 2011 21:50:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-with-Quickwin-Library-on-upgradt-from-11-0-to-11-1-and/m-p/866734#M70952</guid>
      <dc:creator>Robert_M_Intel4</dc:creator>
      <dc:date>2011-01-21T21:50:00Z</dc:date>
    </item>
  </channel>
</rss>

