<?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 CALLDVF and ALIASing in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/CALLDVF-and-ALIASing/m-p/941176#M17050</link>
    <description>I have been using CVF-created dll's from Delphi-created apps for about a year and everything seems to be operating OK. However, in the new CALLDVF (from  Delphi) example it states that Dephi prepends an underscore and so the Fortran function (or procedure) needs to be appropriately ALIASed. None of my functions are so ALIASed and there has never been a problem. I'm confused... &lt;BR /&gt;Bill D. Richards &lt;BR /&gt;North Idaho College</description>
    <pubDate>Sun, 04 Mar 2001 03:51:09 GMT</pubDate>
    <dc:creator>bdrichards</dc:creator>
    <dc:date>2001-03-04T03:51:09Z</dc:date>
    <item>
      <title>CALLDVF and ALIASing</title>
      <link>https://community.intel.com/t5/Software-Archive/CALLDVF-and-ALIASing/m-p/941176#M17050</link>
      <description>I have been using CVF-created dll's from Delphi-created apps for about a year and everything seems to be operating OK. However, in the new CALLDVF (from  Delphi) example it states that Dephi prepends an underscore and so the Fortran function (or procedure) needs to be appropriately ALIASed. None of my functions are so ALIASed and there has never been a problem. I'm confused... &lt;BR /&gt;Bill D. Richards &lt;BR /&gt;North Idaho College</description>
      <pubDate>Sun, 04 Mar 2001 03:51:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/CALLDVF-and-ALIASing/m-p/941176#M17050</guid>
      <dc:creator>bdrichards</dc:creator>
      <dc:date>2001-03-04T03:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: CALLDVF and ALIASing</title>
      <link>https://community.intel.com/t5/Software-Archive/CALLDVF-and-ALIASing/m-p/941177#M17051</link>
      <description>I'm not familiar with Delphi - I see that the CALLDVF example expects Delphi to use the C naming conventions (downcased name and prepended underscore) but the STDCALL calling conventions.  Strange.  Perhaps it depends on what your Delphi code looks like?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sun, 04 Mar 2001 11:58:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/CALLDVF-and-ALIASing/m-p/941177#M17051</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-03-04T11:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: CALLDVF and ALIASing</title>
      <link>https://community.intel.com/t5/Software-Archive/CALLDVF-and-ALIASing/m-p/941178#M17052</link>
      <description>Here is a sample of the Delphi function declaration (after reading the Delphi reference, which has a great section on parameter passing conventions, I declared all function calls as STDCALL):  &lt;BR /&gt;&lt;PRE&gt;  
Function FDSCANSHEET(sheet : pchar;  
 lsheet : integer;  
 id : pchar;  
 lid : integer;  
 pform : pchar;  
 lform : integer;  
 Var iside : integer;  
 Var iessay : integer) : integer; stdcall; external 'par.dll';  
&lt;/PRE&gt;  &lt;BR /&gt;  &lt;BR /&gt;and the fuinction in CVF is as:  &lt;BR /&gt;  &lt;BR /&gt;&lt;PRE&gt;  
  
INTEGER function fdScanSheet(s1,id,form,side,essaypts)  
 use scanstuffmodule  
 use dflib  
 character(LEN=*),intent(INOUT) :: s1,id,form  
 integer(4),intent(INOUT) :: side,essaypts  
 !DEC$ ATTRIBUTES DLLEXPORT :: FDSCANSHEET  
 !DEC$ ATTRIBUTES ALIAS:'FDSCANSHEET' :: FDSCANSHEET  
  
&lt;/PRE&gt;  &lt;BR /&gt;  &lt;BR /&gt;I guess the STDCALL convention seems to be the best for me, you still have to make sure of the case of the function name, though.  &lt;BR /&gt;  &lt;BR /&gt;Bill</description>
      <pubDate>Mon, 05 Mar 2001 06:29:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/CALLDVF-and-ALIASing/m-p/941178#M17052</guid>
      <dc:creator>bdrichards</dc:creator>
      <dc:date>2001-03-05T06:29:02Z</dc:date>
    </item>
  </channel>
</rss>

