Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Export Module to dll file

$
0
0

We have a main dll with  calculations and in this dll there are  have many modules.

We want to add a post-processor but this will be placed in a separate dll  In this separate dll the idea is to use modules with results from the main dll.

I have tested with a small post processor dll  and now it is working (with some problems on the way) so variables from modules in the main dll are available in the post Proc. dll.

My test example:

In main dll I have this module:

module test

real a

!dec$ attributes dllexport :: a

real b

!dec$ attributes dllexport :: b

end module

 

I set a b to some variables and then I export the module:

!dec$ attributes dllexport :: test

When this is done I  use a and b in  the separate post-proc. dll and they are correct

This is fine but for the real case I have many hundreds/thousands of results in many modules.

I have tested to comment out dllexport for a and b but then it did not work.

My question: Is there a command or trick to avoid adding dllexport for all variables in my modules?

BR

Christer

 

 

 

 

 

 

 

 

Thread Topic: 

Question

Viewing all articles
Browse latest Browse all 5691

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


TYKEMA GLEATON


The Conjuring 2 (Tamil Dubbed)


Woman stabbed 12 times and dumped in ditch


Moondru Mudichu 07-06-2016 – Polimer tv Serial


Trio remanded on gun, other serious charges


Rick Ross & Etana – Kiss Of Judas – Single [iTunes Plus M4A]


The 6 Best Sex Scenes in Nollywood Movies


Take this week's NJ.com Local News Quiz


Angeline Yap kym?



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>