<?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 here is the file. in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941810#M90230</link>
    <description>here is the file.</description>
    <pubDate>Sat, 24 Nov 2012 05:09:10 GMT</pubDate>
    <dc:creator>Brian_A_</dc:creator>
    <dc:date>2012-11-24T05:09:10Z</dc:date>
    <item>
      <title>Not a valid win32 application</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941798#M90218</link>
      <description>&lt;P&gt;After installing the latest IFC on my Windows 7 computer and compiling our code unter the 32bit compiler, the exe will not run on WinXP but will run on Win7.&lt;/P&gt;
&lt;P&gt;Version 2013 update 1&lt;/P&gt;
&lt;P&gt;When I try to run it in WinXP, it says, "Not a valid win32 application"&lt;/P&gt;
&lt;P&gt;Windows 7 works just fine&lt;/P&gt;
&lt;P&gt;On anotgher computer running windows 7, I have the IFC version of 12.1.4.325 Build 20120410 and the code compiled on the 32bit compiler on that version works fine on WInXP and Win7.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2012 14:15:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941798#M90218</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-11-02T14:15:16Z</dc:date>
    </item>
    <item>
      <title>That's a new one for me.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941799#M90219</link>
      <description>That's a new one for me.  Usually that error indicates a corrupted file.  Would you please attach a ZIP of the EXE that fails on XP to a reply here, or you can use "Send Author A Message" to send it to me privately. Make sure that it is exactly the EXE that fails on XP (ZIP it on the XP system.)</description>
      <pubDate>Fri, 02 Nov 2012 14:20:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941799#M90219</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-11-02T14:20:48Z</dc:date>
    </item>
    <item>
      <title>Hi Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941800#M90220</link>
      <description>Hi Steve,

I got the same problem with a module compiled in VS12. Recompiling the same code in VS10 all run well also in Windows XP.</description>
      <pubDate>Mon, 05 Nov 2012 15:08:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941800#M90220</guid>
      <dc:creator>Ferdinando_Alde</dc:creator>
      <dc:date>2012-11-05T15:08:38Z</dc:date>
    </item>
    <item>
      <title>Ops!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941801#M90221</link>
      <description>Ops!

I attached the exe wich fails. You can run it .... it only ask to choose a file. With a couple of 'Cancel' ends the execution.</description>
      <pubDate>Mon, 05 Nov 2012 15:14:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941801#M90221</guid>
      <dc:creator>Ferdinando_Alde</dc:creator>
      <dc:date>2012-11-05T15:14:47Z</dc:date>
    </item>
    <item>
      <title>Is it arrived? I hope yes ...</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941802#M90222</link>
      <description>Is it arrived? I hope yes .... at the last try.</description>
      <pubDate>Mon, 05 Nov 2012 15:18:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941802#M90222</guid>
      <dc:creator>Ferdinando_Alde</dc:creator>
      <dc:date>2012-11-05T15:18:08Z</dc:date>
    </item>
    <item>
      <title>Ok, finally got the ability</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941803#M90223</link>
      <description>Ok, finally got the ability to test this.  I can reproduce the problem, and it appears to be that the program uses several Windows API routines that do not exist in XP.  Normally I would expect XP to give an "ordinal not found" error, which it usually does for DLLs, but I guess this is different.  What I can't tell is whether the references are from the user code or some static library it links to, but there are a dozen or more.  One example is CompareStringEx. I don't find references to this or the other missing routines in the Intel Fortran libraries.

Please rebuild the application and enable the creation of a link map in the Linker properties, and attach the map to a reply here. (You'll have to ZIP it.)</description>
      <pubDate>Wed, 07 Nov 2012 01:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941803#M90223</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-11-07T01:15:00Z</dc:date>
    </item>
    <item>
      <title>Hi Steve, here is the link</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941804#M90224</link>
      <description>Hi Steve, here is the link map. Thank for all.

Ciao</description>
      <pubDate>Wed, 07 Nov 2012 11:10:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941804#M90224</guid>
      <dc:creator>Ferdinando_Alde</dc:creator>
      <dc:date>2012-11-07T11:10:09Z</dc:date>
    </item>
    <item>
      <title>I used Dependency Walker and</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941805#M90225</link>
      <description>I used Dependency Walker and found the two DLL files that are not on XP.  Problem solved.</description>
      <pubDate>Wed, 07 Nov 2012 15:00:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941805#M90225</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-11-07T15:00:06Z</dc:date>
    </item>
    <item>
      <title>Which were those?  I didn't</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941806#M90226</link>
      <description>Which were those?  I didn't see any missing DLLs.  I did see the typical two "delayed load" DLLs that are usually reported.  It looks as if the API reference is coming from the MSVC library.</description>
      <pubDate>Wed, 07 Nov 2012 16:32:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941806#M90226</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-11-07T16:32:58Z</dc:date>
    </item>
    <item>
      <title>mpr.dll and shlwapi.dll</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941807#M90227</link>
      <description>mpr.dll and shlwapi.dll</description>
      <pubDate>Wed, 07 Nov 2012 16:45:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941807#M90227</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-11-07T16:45:56Z</dc:date>
    </item>
    <item>
      <title>Interesting.  My XP system</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941808#M90228</link>
      <description>Interesting.  My XP system has shlwapi.dll and I see no reference to mpr.dll in your EXE.</description>
      <pubDate>Wed, 07 Nov 2012 18:07:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941808#M90228</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-11-07T18:07:09Z</dc:date>
    </item>
    <item>
      <title>ok so I created a map file.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941809#M90229</link>
      <description>ok so I created a map file.</description>
      <pubDate>Sat, 24 Nov 2012 05:08:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941809#M90229</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-11-24T05:08:39Z</dc:date>
    </item>
    <item>
      <title>here is the file.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941810#M90230</link>
      <description>here is the file.</description>
      <pubDate>Sat, 24 Nov 2012 05:09:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941810#M90230</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-11-24T05:09:10Z</dc:date>
    </item>
    <item>
      <title>Brian,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941811#M90231</link>
      <description>Brian,

The only thing that looks like it might be a problem is that you have nearly a gigabyte of static data (COMMONs, local arrays and the like).  This may combine with other sizable contributions to push you over the 2GB limit, and this can cause bizarre symptoms including the one you described. If you're right "on the edge" then small differences, such as less user address space taken by the OS, can make the difference between running and not running.

I don't see any other issues here - the program is statically linked, as it has to be since you are using Quickwin.</description>
      <pubDate>Tue, 27 Nov 2012 15:44:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941811#M90231</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-11-27T15:44:59Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941812#M90232</link>
      <description>&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;Brian,&lt;/P&gt;
&lt;P&gt;The only thing that looks like it might be a problem is that you have nearly a gigabyte of static data (COMMONs, local arrays and the like).  This may combine with other sizable contributions to push you over the 2GB limit, and this can cause bizarre symptoms including the one you described. If you're right "on the edge" then small differences, such as less user address space taken by the OS, can make the difference between running and not running.&lt;/P&gt;
&lt;P&gt;I don't see any other issues here - the program is statically linked, as it has to be since you are using Quickwin.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;


When you say 1gb of static data, how is that possible when the code will run on a machine with less than 1gb of hard drive space.?  Also everything ran just fine on the previous release of the IFC, but now with the latest release it does not run on Windows XP.</description>
      <pubDate>Tue, 27 Nov 2012 16:08:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941812#M90232</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-11-27T16:08:11Z</dc:date>
    </item>
    <item>
      <title>As I said, the size of static</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941813#M90233</link>
      <description>As I said, the size of static data was the only unusual thing I noticed from the link map. Whether or not that's really the issue, I can't say. It does appear to be an address space issue - why changing compiler versions made a difference, I don't know. This isn't normally something affected by that.  Can you attach the EXE (in a ZIP)?  Or the .dwi file saved from Dependency Walker?</description>
      <pubDate>Tue, 27 Nov 2012 17:12:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941813#M90233</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-11-27T17:12:23Z</dc:date>
    </item>
    <item>
      <title>I have attached the depends</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941814#M90234</link>
      <description>I have attached the depends files for a version that runs and doesn't run.
I have attached a comparison of map files for the good exe and the bad exe
I have attached the map files as well.

What does not make sense is I can take the same coding and compile it with version IFC 12.1.4.325 and it runs just fine on WinXP.  Then I take the same coding and compile it on version IFC 13.0.0.089 and it fails on WinXP.  
I do not change how I compile it.
Also the file sizes are different.  The one that runs is 8,759kb and the one that fails is 9,367kb.</description>
      <pubDate>Wed, 28 Nov 2012 21:33:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941814#M90234</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-11-28T21:33:22Z</dc:date>
    </item>
    <item>
      <title>ok I narrowed it down to my</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941815#M90235</link>
      <description>ok I narrowed it down to my MAC.  I am running Windows 7 on Paralells and I am compiling using the 32-bit compiler but I think the 64bit machine is interfering. I just compiled on my Win7 computer at the office with the latest compiler and it works fine.</description>
      <pubDate>Tue, 04 Dec 2012 19:41:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941815#M90235</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-12-04T19:41:06Z</dc:date>
    </item>
    <item>
      <title>Ah, so you don't have "a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941816#M90236</link>
      <description>Ah, so you don't have "a Windows 7 computer" after all...</description>
      <pubDate>Tue, 04 Dec 2012 22:07:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941816#M90236</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-12-04T22:07:21Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941817#M90237</link>
      <description>&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;Ah, so you don't have "a Windows 7 computer" after all...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;

I do have a Win7 machine, but I had discovered the problem on my Mac running virtually Win7.  Why though if my computer at the office that is a Win7 machine compile a 32bit app just fine, even though the machine is a 64bit machine.  My mac is a 64bit machine but does not compile the 32bit version that runs on WinXP.  I am using the 32bit compiler on both machines, but my Win7 machine the exe runs just fine on XP.</description>
      <pubDate>Wed, 05 Dec 2012 14:38:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Not-a-valid-win32-application/m-p/941817#M90237</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2012-12-05T14:38:54Z</dc:date>
    </item>
  </channel>
</rss>

