I have a DLL writtten in Delphi that I want to use in a C++ program. It seems that in C++ you always need a .lib file (at least in Visual Studio), and I generated that from the .dll file.
But still, it gives linker errors (it seems to be trying to import the functions as import_functionname instead of just functioname).
Anyone here has experience of mixing C++ with Delphi?
I could use LoadLibrary and load everything manually, but that's around 400 functions