<?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 RE Boolian vs LOGICAL in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159198#M142468</link>
    <description>&lt;P&gt;RE Boolian vs LOGICAL&lt;/P&gt;&lt;P&gt;I would suggest NOT using either in inter-operational data. IOW use an agreed upon type that is inter-operational. e.g. integer or character (kind ASCII), and who's value (for true/false) is defined in the applications. VBA and Fortran can define compatible test/set/reset functions (and/or converter functions).&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 16:06:08 GMT</pubDate>
    <dc:creator>jimdempseyatthecove</dc:creator>
    <dc:date>2019-12-20T16:06:08Z</dc:date>
    <item>
      <title>Calling Fortran from VB with Type argument</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159179#M142449</link>
      <description>&lt;P&gt;I've been happily using a VB Type as an argument to a Fortran subroutine in a DLL.&amp;nbsp; This Type was made up of a number of Doubles.&amp;nbsp; I wanted to add a Boolean member (logical in the Fortran derived type), but the program was crashing (on the third call to the subroutine).&amp;nbsp; I concluded that VB Boolean isn't quite the same as Fortran logical, and changed to using a VB Long and Fortran integer.&amp;nbsp; To my surprise this also crashed.&amp;nbsp; In desperation I am now using a Double for the flag, with +1/-1 for true/false.&amp;nbsp; This works.&amp;nbsp; It appears that the VB Type is interoperable with a Fortran derived type only if all members are the same type.&amp;nbsp; I haven't seen this written anywhere - is it true?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 05:41:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159179#M142449</guid>
      <dc:creator>gib</dc:creator>
      <dc:date>2019-12-16T05:41:39Z</dc:date>
    </item>
    <item>
      <title>I suspect the issue is not</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159180#M142450</link>
      <description>&lt;P&gt;I suspect the issue is not what you describe. Can you provide a small test case?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 18:02:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159180#M142450</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-16T18:02:14Z</dc:date>
    </item>
    <item>
      <title>Hi Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159181#M142451</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;I have created a small test case.&lt;/P&gt;&lt;P&gt;I build metab-dll.dll 32-bit, and use 32-bit Excel.&amp;nbsp; If you have 64-bit Excel you'll need to build the DLL 64-bit and rename it as metab-dll64.dll.&lt;/P&gt;&lt;P&gt;The DLL subroutine mp_execute doesn't really do anything, so when you click the 'Solve metabolism' button in Excel mp_execute is called but leaves no trace.&amp;nbsp; If the Type member 'recalcable' is changed to Boolean and real(REAL_KIND) in the VB and the Fortran, the program crashes.&lt;/P&gt;&lt;P&gt;(By the way, I misdescribed the situation in my original post.&amp;nbsp; What I was observing, in the real program, was the crash occurred when the loop in mp_execute was traversed three times.)&lt;/P&gt;&lt;P&gt;Gib&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 03:22:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159181#M142451</guid>
      <dc:creator>gib</dc:creator>
      <dc:date>2019-12-17T03:22:36Z</dc:date>
    </item>
    <item>
      <title>I can't reproduce an error.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159182#M142452</link>
      <description>&lt;P&gt;I can't reproduce an error. With either double or boolean as the last member (and associated change made in the DLL), the DLL function runs to completion.&lt;/P&gt;&lt;P&gt;What is the "crash"? Do you know how to debug your DLL in this environment?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:57:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159182#M142452</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-17T16:57:15Z</dc:date>
    </item>
    <item>
      <title>Interesting.  I'm not very</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159183#M142453</link>
      <description>&lt;P&gt;Interesting.&amp;nbsp; I'm not very familiar with the debugger.&amp;nbsp; It's hard to see how this simple fragment of code could produce an error, but I'll remind you that I'm using a very old version of the compiler - 11.0.075 - on this machine.&amp;nbsp; It may have problem with VBA.&lt;/P&gt;&lt;P&gt;The crash is Excel stopping, as in the attached pic.&amp;nbsp; By the way, commenting out the line&lt;/P&gt;&lt;P&gt;mpArr(i) = metab&lt;BR /&gt;stops the crash, but commenting out the line above it does not.&lt;/P&gt;&lt;P&gt;Are you using the 32-bit or the 64-bit DLL?&amp;nbsp; Some time (since I'm pursuing this out of curiosity, not out of need) I'll test on my machine at work, where I have a more recent compiler that supports 64-bit compilation.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:09:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159183#M142453</guid>
      <dc:creator>gib</dc:creator>
      <dc:date>2019-12-17T21:09:58Z</dc:date>
    </item>
    <item>
      <title>I used a 32-bit DLL and the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159184#M142454</link>
      <description>&lt;P&gt;I used a 32-bit DLL and the 19.0.5 compiler. Unfortunately your PNG omitted the details of the crash.&lt;/P&gt;&lt;P&gt;I don't recall issues with VBA calling Fortran in 11.0 - an Excel sample had been part of the product back into the DVF days.&lt;/P&gt;&lt;P&gt;Here's how to debug a DLL that is called by some non-Visual Studio language. In the DLL project properties, go to Debugging. Set "Command" to the full path to the executable (Excel.exe in this case.) For command arguments, give the path to your .xls file.&lt;/P&gt;&lt;P&gt;Set a breakpoint on the first executable statement in your DLL routine, and then press F5 to start debugging. You may want to go into the VBA debugger in Excel and step through it there, stepping into the DLL routine.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 00:45:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159184#M142454</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-18T00:45:03Z</dc:date>
    </item>
    <item>
      <title>Here are the crash details</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159185#M142455</link>
      <description>&lt;P&gt;Here are the crash details (might mean something to you):&lt;/P&gt;&lt;P&gt;Problem signature:&lt;BR /&gt;&amp;nbsp; Problem Event Name:&amp;nbsp;&amp;nbsp; &amp;nbsp;APPCRASH&lt;BR /&gt;&amp;nbsp; Application Name:&amp;nbsp;&amp;nbsp; &amp;nbsp;EXCEL.EXE&lt;BR /&gt;&amp;nbsp; Application Version:&amp;nbsp;&amp;nbsp; &amp;nbsp;14.0.4756.1000&lt;BR /&gt;&amp;nbsp; Application Timestamp:&amp;nbsp;&amp;nbsp; &amp;nbsp;4b9c08e8&lt;BR /&gt;&amp;nbsp; Fault Module Name:&amp;nbsp;&amp;nbsp; &amp;nbsp;StackHash_6798&lt;BR /&gt;&amp;nbsp; Fault Module Version:&amp;nbsp;&amp;nbsp; &amp;nbsp;6.1.7601.24520&lt;BR /&gt;&amp;nbsp; Fault Module Timestamp:&amp;nbsp;&amp;nbsp; &amp;nbsp;5d673df5&lt;BR /&gt;&amp;nbsp; Exception Code:&amp;nbsp;&amp;nbsp; &amp;nbsp;c0000374&lt;BR /&gt;&amp;nbsp; Exception Offset:&amp;nbsp;&amp;nbsp; &amp;nbsp;000ce9a3&lt;BR /&gt;&amp;nbsp; OS Version:&amp;nbsp;&amp;nbsp; &amp;nbsp;6.1.7601.2.1.0.256.48&lt;BR /&gt;&amp;nbsp; Locale ID:&amp;nbsp;&amp;nbsp; &amp;nbsp;1033&lt;BR /&gt;&amp;nbsp; Additional Information 1:&amp;nbsp;&amp;nbsp; &amp;nbsp;6798&lt;BR /&gt;&amp;nbsp; Additional Information 2:&amp;nbsp;&amp;nbsp; &amp;nbsp;6798a49cb55fcaa1deb02c15eb9ba081&lt;BR /&gt;&amp;nbsp; Additional Information 3:&amp;nbsp;&amp;nbsp; &amp;nbsp;ffe8&lt;BR /&gt;&amp;nbsp; Additional Information 4:&amp;nbsp;&amp;nbsp; &amp;nbsp;ffe877722da68f4c779c7ba0c0797622&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 01:44:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159185#M142455</guid>
      <dc:creator>gib</dc:creator>
      <dc:date>2019-12-18T01:44:45Z</dc:date>
    </item>
    <item>
      <title>Gib, apart from all the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159186#M142456</link>
      <description>&lt;P&gt;Gib, apart from all the issues that you and Steve have discussed, I see this problem with your Fortran subroutine in the test example: the local variable &lt;STRONG&gt;metab&lt;/STRONG&gt;, which is a derived type, is used without having any value assigned to it.&lt;/P&gt;&lt;P&gt;I am not a user of Excel or VB;&amp;nbsp;please check whether you need the SEQUENCE attribute for the derived type in order to make the VB actual argument and the Fortran dummy argument &lt;STRONG&gt;mpArr&lt;/STRONG&gt; compatible.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 12:34:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159186#M142456</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2019-12-18T12:34:30Z</dc:date>
    </item>
    <item>
      <title>The comment of mecej4 on</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159187#M142457</link>
      <description>&lt;P&gt;The comment of mecej4 on SEQUENCE is a good one. Having the type with BIND(C) would also achieve that.&amp;nbsp; In the VBA your derived type has DOUBLE items which are 8 byte but the BOOLEAN is 2 bytes it would seem!!!&amp;nbsp; I also note that: "In VBA, data elements in user-defined data types are packed to 4-byte boundaries". There seem quite a few potential pitfalls !&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 13:37:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159187#M142457</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2019-12-18T13:37:48Z</dc:date>
    </item>
    <item>
      <title>Yes, that's an interesting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159188#M142458</link>
      <description>&lt;P&gt;Yes, that's an interesting aspect that did not occur to me. While SEQUENCE isn't going to matter here, if VBA chooses a different length for the type than Fortran, the effect will be running off the end of the array and this could cause an access violation or other error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 14:09:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159188#M142458</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-18T14:09:52Z</dc:date>
    </item>
    <item>
      <title>Regarding the size of BOOLEAN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159189#M142459</link>
      <description>&lt;P&gt;Regarding the size of BOOLEAN vs LOGICAL, which shows promise, note that the crash doesn't happen for Steve.&amp;nbsp; For me, the crash also happens with recalcable declared as integer, which is 4 bytes on the Fortran side, not sure about the VBA.&amp;nbsp; I will test declaring recalcable as logical(2) ...&lt;/P&gt;&lt;P&gt;that didn't help.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 01:09:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159189#M142459</guid>
      <dc:creator>gib</dc:creator>
      <dc:date>2019-12-19T01:09:51Z</dc:date>
    </item>
    <item>
      <title>You maybe need to check the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159190#M142460</link>
      <description>&lt;P&gt;You maybe need to check the size of the struct in VBA to see if it is different from the Fortran. There is the possibility of padding for example.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 09:01:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159190#M142460</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2019-12-19T09:01:41Z</dc:date>
    </item>
    <item>
      <title>The sizes of the struct in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159191#M142461</link>
      <description>&lt;P&gt;The sizes of the struct in VBA and Fortran make it unclear how to proceed using Boolean&amp;nbsp;and logical(2).&lt;/P&gt;&lt;P&gt;When recalcable is Double the sizes are the same, both 144 - 8 bytes per double, as expected.&lt;/P&gt;&lt;P&gt;When recalcable is Boolean and logical(2), the VBA size is 140, while the Fortran size is still 144.&lt;/P&gt;&lt;P&gt;In other words, in VBA 4 bytes are added for the 2 bytes of Boolean, implying 2 bytes of padding.&amp;nbsp; In Fortran 8 bytes are added for the 2 bytes of logical(2), implying 6 bytes of padding.&amp;nbsp; I'm not surprised by VBA making the length a multiple of 4, but I don't understand what Fortran is doing.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 08:29:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159191#M142461</guid>
      <dc:creator>gib</dc:creator>
      <dc:date>2019-12-20T08:29:27Z</dc:date>
    </item>
    <item>
      <title>One solution is to copy the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159192#M142462</link>
      <description>&lt;P&gt;One solution is to copy the VB type (you know its length) to an integer/real vector and pass the vector with its length to the DLL.&lt;/P&gt;&lt;P&gt;In Fortran you can do the reverse by copying the vector into a vector EQUIVALENCEd with a user type.&amp;nbsp;&lt;BR /&gt;So you can inspect each byte of storage.&lt;/P&gt;&lt;P&gt;In the end, and for any language, a variable has an address and a length.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 09:59:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159192#M142462</guid>
      <dc:creator>LRaim</dc:creator>
      <dc:date>2019-12-20T09:59:58Z</dc:date>
    </item>
    <item>
      <title>You could add a junk variable</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159193#M142463</link>
      <description>&lt;P&gt;You could add a junk variable&amp;nbsp; at the end&amp;nbsp; to pad in VB so the Fortran and vb have the same size.&lt;/P&gt;&lt;P&gt;You could also pass the size in your call so you can error check for&amp;nbsp; if something changes in the future. I would avoid doing anything with the obsolete EQUIVALENCE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 11:45:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159193#M142463</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2019-12-20T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Take a look here https:/</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159194#M142464</link>
      <description>&lt;P&gt;Take a look at &lt;A href="https://software.intel.com/en-us/articles/coding-for-performance-data-alignment-and-structures" target="_blank"&gt;https://software.intel.com/en-us/articles/coding-for-performance-data-alignment-and-structures&lt;/A&gt; and &lt;A href="https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference-attributes-align" target="_blank"&gt;https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference-attributes-align&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 12:31:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159194#M142464</guid>
      <dc:creator>GVautier</dc:creator>
      <dc:date>2019-12-20T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Quote:gib wrote:.... but I</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159195#M142465</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;gib wrote:&lt;BR /&gt;.... but I don't understand what Fortran is doing.&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of&amp;nbsp;the /align compiler option will have a bearing on the matter.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:32:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159195#M142465</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2019-12-20T13:32:22Z</dc:date>
    </item>
    <item>
      <title>Gib, please post an Excel</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159196#M142466</link>
      <description>&lt;P&gt;Gib, please post an Excel file that invokes the DLL with meaningful values of the arguments, and modify the DLL source file such that all variables are defined before being used. As of now, the only input argument passed with a meaningful value is &lt;STRONG&gt;ng&lt;/STRONG&gt;, and I can see that the value of &lt;STRONG&gt;ng&lt;/STRONG&gt; is passed correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:52:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159196#M142466</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2019-12-20T13:52:19Z</dc:date>
    </item>
    <item>
      <title>I will also point out that</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159197#M142467</link>
      <description>&lt;P&gt;I will also point out that VBA Boolean isn't the same as Fortran LOGICAL - at least by default in Intel Fortran. It is more likely to be compatible if you use the /standard-semantics (Language &amp;gt; Assume F2003 Semantics) option.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 15:01:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159197#M142467</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-12-20T15:01:47Z</dc:date>
    </item>
    <item>
      <title>RE Boolian vs LOGICAL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159198#M142468</link>
      <description>&lt;P&gt;RE Boolian vs LOGICAL&lt;/P&gt;&lt;P&gt;I would suggest NOT using either in inter-operational data. IOW use an agreed upon type that is inter-operational. e.g. integer or character (kind ASCII), and who's value (for true/false) is defined in the applications. VBA and Fortran can define compatible test/set/reset functions (and/or converter functions).&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 16:06:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-Fortran-from-VB-with-Type-argument/m-p/1159198#M142468</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2019-12-20T16:06:08Z</dc:date>
    </item>
  </channel>
</rss>

