I have compiled some of the C files to a single C++ DLL ( https://github.com/tnagler/VineCopula )
But after adding the EXPORTFUNC besides HFunc1 , the compiler throws