<?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 CreateProcess in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CreateProcess/m-p/841618#M59587</link>
    <description>Hi,&lt;BR /&gt;I was using  'winexec' to edit data files using notepad in my application.I read recently that winexec is good only for 16 bit and createprocess should be usedfor applications.&lt;BR /&gt;However I am not able to use createprocess successfully.For starters I do not know what to use for the startupinfo and process information structure.Can anyone give me an example using createprocess.&lt;BR /&gt;Can Shellexecute be used instead or is it also only 16 bit compatible?&lt;BR /&gt;--rswy</description>
    <pubDate>Wed, 14 Aug 2002 08:04:01 GMT</pubDate>
    <dc:creator>rswy</dc:creator>
    <dc:date>2002-08-14T08:04:01Z</dc:date>
    <item>
      <title>CreateProcess</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CreateProcess/m-p/841618#M59587</link>
      <description>Hi,&lt;BR /&gt;I was using  'winexec' to edit data files using notepad in my application.I read recently that winexec is good only for 16 bit and createprocess should be usedfor applications.&lt;BR /&gt;However I am not able to use createprocess successfully.For starters I do not know what to use for the startupinfo and process information structure.Can anyone give me an example using createprocess.&lt;BR /&gt;Can Shellexecute be used instead or is it also only 16 bit compatible?&lt;BR /&gt;--rswy</description>
      <pubDate>Wed, 14 Aug 2002 08:04:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CreateProcess/m-p/841618#M59587</guid>
      <dc:creator>rswy</dc:creator>
      <dc:date>2002-08-14T08:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: CreateProcess</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/CreateProcess/m-p/841619#M59588</link>
      <description>Example code: &lt;PRE&gt;program ed
use dfwbase
use kernel32
implicit none
type (T_STARTUPINFO) si
type (T_PROCESS_INFORMATION) pi
call ZeroMemory (LOC(si), SIZEOF(si))
call ZeroMemory (LOC(pi), SIZEOF(pi))
si%cb = SIZEOF (si)
si%dwFlags = STARTF_USESTDHANDLES
if (CreateProcess(NULL,'notepad junk.txt'c,NULL,NULL,FALSE,0,NULL,NULL,si,pi) /= 0) then
  print *, 'Process created', pi%dwProcessId
else
  print *, 'CreateProcess error', GetLastError()
end if
end program ed&lt;/PRE&gt;James</description>
      <pubDate>Wed, 14 Aug 2002 14:07:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/CreateProcess/m-p/841619#M59588</guid>
      <dc:creator>james1</dc:creator>
      <dc:date>2002-08-14T14:07:19Z</dc:date>
    </item>
  </channel>
</rss>

