Can i use functions in a delphi dll file in vb6


Hello all,

i have a dll file where some functions are defined. I think this dll is compiled
with delphi language. For example:

function LoadRoentecSpectrumDatabase(FileName:PChar):LongInt;stdcall external 'rtspectrumlib.dll';

or


function GetRoentecSpectrumDatabaseInfo(var DatabaseInfo:TRTDatabaseInfo;
PreviewImageBuffer:Pointer;var ImageBufferSize:LongInt;
SpectrumBuffer:Pointer;var SpectrumBufferSize:LongInt):LongInt;stdcall external
'rtspectrumlib.dll';


Is it possible to use these functions in vb6 and if so, how would i proceed here? Should vb6 recognize the functions if i just add the dll to my project?
Project -> Add to project -> Files ...


Huge thanks to any help!!
p.s. i have to use vb6.
Topic archived. No new replies allowed.