<?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 How to set up a function to be called from vb.net 2005 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-set-up-a-function-to-be-called-from-vb-net-2005/m-p/885866#M76671</link>
    <description>&lt;P&gt;What is the proper format to export a function for use in another language ? Also is there a requirement for byte alignment when using structure.&lt;/P&gt;
&lt;P&gt;My sample function might be to take a integer(4) as a parameter, double it and return the value.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Sep 2008 21:16:05 GMT</pubDate>
    <dc:creator>john_lott</dc:creator>
    <dc:date>2008-09-15T21:16:05Z</dc:date>
    <item>
      <title>How to set up a function to be called from vb.net 2005</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-set-up-a-function-to-be-called-from-vb-net-2005/m-p/885866#M76671</link>
      <description>&lt;P&gt;What is the proper format to export a function for use in another language ? Also is there a requirement for byte alignment when using structure.&lt;/P&gt;
&lt;P&gt;My sample function might be to take a integer(4) as a parameter, double it and return the value.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2008 21:16:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-set-up-a-function-to-be-called-from-vb-net-2005/m-p/885866#M76671</guid>
      <dc:creator>john_lott</dc:creator>
      <dc:date>2008-09-15T21:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up a function to be called from vb.net 2005</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-set-up-a-function-to-be-called-from-vb-net-2005/m-p/885867#M76672</link>
      <description>Have you looked at the VB--Calls-Fortran sample provided?&lt;BR /&gt;&lt;BR /&gt;As for structures, if you are sharing a structure with another language you will need to understand how that language (VB or whatever) lays out the structure. On the Fortran side, I recommend giving the corresponding derived type the BIND(C) attribute for maximum interoperability. You can deal with any alignment yourself.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Sep 2008 13:54:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-set-up-a-function-to-be-called-from-vb-net-2005/m-p/885867#M76672</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-09-16T13:54:32Z</dc:date>
    </item>
  </channel>
</rss>

