struggling to link against a C global in D (win/vs2017)

Adam D. Ruppe destructionator at gmail.com
Mon Oct 29 00:04:54 UTC 2018


On Monday, 29 October 2018 at 00:01:21 UTC, DanielG wrote:
> 	extern DLLPROJECT_API int myIntValue;
> 	extern __gshared int myIntValue;


Both are listed as extern, where is the actual variable stored? 
If it is in the dll, it shouldn't be extern there.


More information about the Digitalmars-d-learn mailing list