RE: Biometric scanner(Finger print reader) need help implementing in delphi.
"Gagnon, Jerry" <[email protected]> Thu, 2 Mar 2006 07:39:09 -0500
| Newsgroups | gmane.comp.lang.delphi.jedi |
|---|---|
| Message-ID | <[email protected]> |
Try this syntax in your Delphi DLL: function MyFunction(X, Y: Real): Real; cdecl; -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Ed Wilson Sent: Wednesday, March 01, 2006 8:14 PM To: [email protected] Subject: Re: [Delphi-JEDI] Biometric scanner(Finger print reader) need help implementing in delphi. It's a dynamic link... .lib file not required. I appreciate the input, but I'm actually looking for the correct syntax of the extern "C" directive so I can declare the DLL functions in C and link them in dynamically. Ed Wilson ----- Original Message ----- From: Oliver Schneider To: [email protected] Sent: Wednesday, March 01, 2006 7:09 PM Subject: Re: [Delphi-JEDI] Biometric scanner(Finger print reader) need help implementing in delphi. > I understand there is no .lib file. There is a way to define the > functions using the extern "c" delcaration to ensure the VC does NOT use > the normal 'mangled' names. That's the question I'm asking. Yet you'll need a LIB file in C. It doesn't matter whether the names from the DLL are mangled or not - if you want to link to it statically you need the LIB file. Try to find the information about the linker of MS. As far as I remember it was able to produce a LIB file from a DLL. Borland provides a tool named IMPLIB, but I do not know whether is also "speaks" MS's LIB-dialect. Cheers, Oliver -- --------------------------------------------------- May the source be with you, stranger ;) ICQ: #281645 URL: http://assarbad.net SPONSORED LINKS Basic programming language C programming language Computer programming languages The c programming language C++ programming language List of programming languages ------------------------------------------------------------------------------ YAHOO! GROUPS LINKS a.. Visit your group "Delphi-JEDI" on the web. b.. To unsubscribe from this group, send an email to: [email protected] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. ------------------------------------------------------------------------------ [Non-text portions of this message have been removed] Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Delphi-JEDI/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/