Quote:
Originally Posted by 0xall0c
in c/c++ you need to define function prototype first, with this no prototypes are needed.
|
Right, but you cannot invoke an API without knowing its prototype! So that means you know the prototype already when using the "DynCall" mechanism. So the only thing it saves you is a one-line typedef? But you loose type correctness for all API arguments...that seems like a very bad trade-off.