Results 1 to 2 of 2

Thread: Pass Global Variable in DLL

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    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

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    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.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width