I have the following items in a structure - Dll name (absolute/relative path) - Function name in the dll - number of parameters - Array of parameter types and values
With these information, I need to load the dll and call the function. To load the dll - I would use loadlibrary To get the address of the function - I would use GetProcAddress Call the function To unload the dll - freelibrary
Since the number of arguments of the function is dynamic, I am not sure about how the arguments need to be passed to the function.
Can anyone provide some details on how the parameters can be passed to the dll function.
Thanks and Regards, V Karthick