View Single Post
  #4  
Old 10-20-2011, 15:46
Nacho_dj's Avatar
Nacho_dj Nacho_dj is offline
Lo*eXeTools*rd
 
Join Date: Mar 2005
Posts: 207
Rept. Given: 14
Rept. Rcvd 179 Times in 34 Posts
Thanks Given: 44
Thanks Rcvd at 135 Times in 40 Posts
Nacho_dj Reputation: 100-199 Nacho_dj Reputation: 100-199
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
Reply With Quote
The Following User Gave Reputation+1 to Nacho_dj For This Useful Post:
Newbie_Cracker (10-20-2011)