You'd rather use DLL2LIB. That's the way condzero is using the Delphi code of ARImpRec.dll (Delphi dll) in Armageddon (VC++) by the use of a .lib file generated by the tool, and this works fine.
Btw, to give compatibility to your exported functions in the Delphi dll, you have to give this name to all of them:
<NameOfExportedFunction>@<NumberOfBytesInParameters>
That is, if your function uses for instance 4 parameters of size dword, the number must be: SizeOf(dword) * 4 --> 16
So, the name of your exported function would be this:
MyExportedFunction@16
Good luck with this!
Nacho_dj
__________________
http://arteam.accessroot.com
|