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

common block not private between dlls

$
0
0

currently running Intel(R) Visual Fortran Compiler Professional for applications running on IA-32, Version 11.1

I have multiple DLLs.  Each DLL has a common block with the same name.  I do not DLLEXPORT these common blocks.  The common block is  used by functions to determine their calling frequency which they then use in time based calculations.  Some functions run at a 50 ms time period, some 100 ms, some 200 ms.  I know, global variables are bad.  However, these functions are not maintained by me and are used in other applications.  DLL functions are run in their own threads in parallel. i.e. all functions in DLL 1 are run in thread 1, all functions in DLL 2 are run in thread 2 etc.  The problem is that the common block is shared between the DLLs.  I did not think they would be because I did not DLLEXPORT the common block.  Anyway way to make the common block private to the DLL and or thread? Also, what's up with the Intel Premium Support Web Site.  It appears to be down.  I can't log in.

Thanks

 

 


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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