Pass Global Variable in DLL
Hi,
How can I pass the global variable to .dll from windows application (.exe)
Test.dll 1. FunTest1 (Parameter Required)
------- 2. FunTest2 (Parameter Required)
Within 'FunTest2' it call 'FunTest1'.
And in .Exe I call 'FunTest2' and want to pass the parameter for 'FunTest1' also.
How to do it?
Thanks
Re: Pass Global Variable in DLL
The exe only calls FunTest2, and not FunTest1? The only way to pass in the variable needed for FunTest1, in that case, would be if FunTest2 took the variables for both such that it could pass along the proper one when it calls FunTest1.