locked
Regarding loading runtime library RRS feed

  • Question

  • I am using run time dynamic linking using LoadLibrary and GetProcAddress.

    Function GetProcAddress() gives function pointer to required function. I am not able to able to call this function as it is giving error " too many arguments for call".

    My exported function is

    void PopUpDialog(int numSelectedObjects, 
    Selct* interfacepointer);

    Dll name is mylib.dll.

    My doubt is can we use exported function having arguments?

    Can someone give me sample using above dll and function?



     


    • Edited by Ganesh_Chavan Wednesday, November 22, 2017 8:02 AM
    • Moved by litdev Wednesday, November 22, 2017 11:04 AM
    Wednesday, November 22, 2017 8:00 AM

Answers