<?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 project type in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845582#M63551</link>
    <description>&lt;DIV&gt;I have two questions to ask:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;1. Are there anyways to switch project from one type to another? for example, from QuickWin to Console Application? I use Project-&amp;gt;Add ..-&amp;gt;files to get all the sources files, but I cannot get them built. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;2.I don't want to have windows, when I run the code. I understand I need tobuild myproject infortran window application. I replace my "program main" by&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt; INTEGER(4) function WinMain ( hInstance, hPrevInstance, &amp;amp; 
 lpszCmdLine, nCmdShow )
use dfwin
 use kernel32&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;and put &lt;/DIV&gt;
&lt;DIV&gt;use dfwin
 use kernel32&lt;/DIV&gt;
&lt;DIV&gt;in all the subroutines.&lt;/DIV&gt;
&lt;DIV&gt;but, I have trouble to compile the subroutine with the following statement&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;real*8, pointer:: n0p=&amp;gt;null()&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I got error message:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Error: This array or function or substring is invalid in constant expressions. [NULL]
real*8, pointer:: n0p=&amp;gt;null()&lt;/DIV&gt;
&lt;DIV&gt;
: Error: This is not a valid initialization expression. [NULL]
real*8, pointer:: n0p=&amp;gt;null()&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 26 Nov 2003 08:47:59 GMT</pubDate>
    <dc:creator>erheiqin</dc:creator>
    <dc:date>2003-11-26T08:47:59Z</dc:date>
    <item>
      <title>project type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845582#M63551</link>
      <description>&lt;DIV&gt;I have two questions to ask:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;1. Are there anyways to switch project from one type to another? for example, from QuickWin to Console Application? I use Project-&amp;gt;Add ..-&amp;gt;files to get all the sources files, but I cannot get them built. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;2.I don't want to have windows, when I run the code. I understand I need tobuild myproject infortran window application. I replace my "program main" by&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt; INTEGER(4) function WinMain ( hInstance, hPrevInstance, &amp;amp; 
 lpszCmdLine, nCmdShow )
use dfwin
 use kernel32&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;and put &lt;/DIV&gt;
&lt;DIV&gt;use dfwin
 use kernel32&lt;/DIV&gt;
&lt;DIV&gt;in all the subroutines.&lt;/DIV&gt;
&lt;DIV&gt;but, I have trouble to compile the subroutine with the following statement&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;real*8, pointer:: n0p=&amp;gt;null()&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I got error message:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Error: This array or function or substring is invalid in constant expressions. [NULL]
real*8, pointer:: n0p=&amp;gt;null()&lt;/DIV&gt;
&lt;DIV&gt;
: Error: This is not a valid initialization expression. [NULL]
real*8, pointer:: n0p=&amp;gt;null()&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Nov 2003 08:47:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845582#M63551</guid>
      <dc:creator>erheiqin</dc:creator>
      <dc:date>2003-11-26T08:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: project type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845583#M63552</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;This topic must have gotten lost though it poses some useful questions of general interest. I'm certainly not an authority, but I'll give it a try anyway.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;1) You cannot change project types in mid stream under CVF. Start a new project with new type, and drag the files to it. You may then delete the old projectif desired.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;2) DFWINs NULL is probably conflicting with the NULL() intrinsic. Try using:&lt;/DIV&gt;
&lt;DIV&gt;USE DFWIN, NUL=&amp;gt;NULL or some other name to substitute NUL for NULL.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Greg&lt;/DIV&gt;&lt;P&gt;Message Edited by gregscvf on &lt;SPAN class="date_text"&gt;12-08-2003&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:28 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2003 03:13:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845583#M63552</guid>
      <dc:creator>gregscvf</dc:creator>
      <dc:date>2003-12-09T03:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: project type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845584#M63553</link>
      <description>&lt;DIV&gt;Should be:&lt;/DIV&gt;
&lt;DIV&gt;USE DFWIN, Xxx =&amp;gt; NULL&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Dec 2003 05:25:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845584#M63553</guid>
      <dc:creator>gregscvf</dc:creator>
      <dc:date>2003-12-09T05:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: project type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845585#M63554</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Actually, you can change project type, but it's a tad tricky, as you have to edit manually project settings in edit box containing compiler &amp;amp; linker switches at the bottom. Here's a brief list (off the top of my head, check out the differences yourself)&lt;/P&gt;
&lt;P&gt;Console projects:&lt;BR /&gt;Link tab: /subsystem: console&lt;/P&gt;
&lt;P&gt;QuickWin projects:&lt;BR /&gt;Link tab: /subsystem: windows&lt;BR /&gt;Fortran tab: /libs:qwin /MW (I'm not sure about the latter). Also, Ithink you have to choose some kind of multi-threaded libraries.&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;Win32 projects:&lt;BR /&gt;Link tab: /subsystem: windows&lt;/P&gt;
&lt;P&gt;Dlls:&lt;BR /&gt;Link tab: /subsystem: windows /dll&lt;/P&gt;
&lt;P&gt;Jugoslav&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by jugoslavdujic on &lt;SPAN class="date_text"&gt;12-09-2003&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:46 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2003 16:42:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845585#M63554</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2003-12-09T16:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: project type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845586#M63555</link>
      <description>&lt;P&gt;Actually, you can change project type, but it's a tad tricky, as you have to edit manually project settings in edit box containing compiler &amp;amp; linker switches at the bottom. Here's a brief list (off the top of my head, check out the differences yourelf)&lt;/P&gt;
&lt;P&gt;Console projects:&lt;BR /&gt; Link tab: &lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Dec 2003 16:42:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845586#M63555</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2003-12-09T16:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: project type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845587#M63556</link>
      <description>&lt;P&gt;Actually, you can change project type, but it's a tad tricky, as you have to edit manually project settings in edit box containing compiler &amp;amp; linker switches at the bottom. Here's a brief list (off the top of my head, check out the differences yourelf)&lt;/P&gt;
&lt;P&gt;Console projects:&lt;BR /&gt; Link tab:&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Dec 2003 16:44:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/project-type/m-p/845587#M63556</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2003-12-09T16:44:23Z</dc:date>
    </item>
  </channel>
</rss>

