How to access extern variables in an include file? New comment [Deleted] 2011.01.17 17:11 hi all, I have created an include and an EA file. How do I access the extern variables (or any other file level variables) of EA in my include file? Include file is not compiling if I just directly refer the variables. C Open orders question How to pass variables from and to (Exported Library)? problem including mqh file bernd 2011.01.17 17:24 #1 you don't need to compile the include file separately. It will be included and compiled together with the main file if you compile the main file. [Deleted] 2011.01.17 20:11 #2 Thank you very much! William Roeder 2011.01.18 16:41 #3 You must declare the EA externs, then include the file. New comment
hi all,
I have created an include and an EA file. How do I access the extern variables (or any other file level variables) of EA in my include file? Include file is not compiling if I just directly refer the variables.
C