DUH...forget it...its just me being mental....I will just blame my damn head cold !
Jermey -----Original Message----- From: "vss" <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Date: Wed, 18 Sep 2002 14:26:38 +1200 Subject: [DUG]: Help converting a function Plz. > 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/ --------------------------------------------------------------------------- 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/