Hi all. I have 2 functions that are declared in Vb like so :- ********************** Public Declare Function calendarnote_getA Lib "theDLL" Alias "calendarnote_get" (ByVal dwParam As Long, ByVal pbRet As String, ByVal cbRet As Long) As Integer
Public Declare Function calendarnote_getW Lib "theDLL" Alias "calendarnote_get" (ByVal dwParam As Long, ByVal pbRet As Long, ByVal cbRet As Long) As Integer ********************** As you will not, they are using the same function, but if you look at pbRet int he dirst function is a String, in the other its a Long. How can I declare these in Delphi? Thanks, Jeremy --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/