yes Case was the issue...I was doing 'Reset' not 'reset'.
 
Thanks, Jeremy Coulter
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy Coulter
Sent: 11 February, 2001 3:16 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Dll Function Name

Ah....right...hehehe try that...thanks
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neil Anderson
Sent: 12 February, 2001 3:08 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Dll Function Name

The dll names may be case sensitive
-----Original Message-----
From: Jeremy Coulter [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 11 February 2001 3:00 p.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Dll Function Name

I tried that, but it complained that it could not find "reset" in the dll, when it compiled
 
Cheers, Jeremy Coulter
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neil Anderson
Sent: 12 February, 2001 2:58 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Dll Function Name

You can like use the name directive
 
eg:

  function MYReset; stdcall;external 'MY.DLL' name 'reset
 
Neil;
-----Original Message-----
From: Jeremy Coulter [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 11 February 2001 2:44 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Dll Function Name

HI all.
 
I have a function the maps to a function in a DLL.
i.e. function reset(szType: PChar): Smallint; stdcall; external 'mydll';
 
is there a way that I can make like an Alias to this function ?
The problem is, that ReSet is a valid function that I use when I open a test file, so it craps out.
 
anyone got any Ideas ?
 
Cheers, Jeremy Coulter

Reply via email to