We have a DLL to which a static library is to be linked. In the static library we have a function that must assemble the function call to one of the DLL functions without having any knowledge of it (the DLL function to be called) EXCEPT the function name and the argument types and values that can be extracted from an XML buffer. So the static library function must assemble dynamically the function call to the DLL function. It can get dynamically the DLL function pointer (this is resolved) but the question is : Can we call a non-typed function call ? Or can we create dynamically a function call type (a function pointer type) based on the parameters and the return value ?