RE: [Dev-C++] Include a DLL function
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: James G. <Jam...@Cl...> - 2001-01-08 08:11:32
|
In you .c/.cpp file add #include "cards32.h" (or whatever you called your header file). and then on the linker command line include the option -lcards32.lib. Regards, James. -----Original Message----- From: Ben [mailto:lau...@in...] Sent: Sunday, January 07, 2001 3:50 AM To: dev...@li... Subject: [Dev-C++] Include a DLL function Hello programmers ! I really need you : I'd want to use a function which is strored in a DLL file named cards32.dll, how can i add this function to my c++ windows program ? Here's the function :int WINAPI cdtInit (int, int) Thank you ! Ben. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This electronic message and any attachment is intended to be read by the named addressee(s) only. Any other recipient should be aware that its contents may be legally privileged and/or confidential and that its use, disclosure, copying or distribution may be unlawful. Unless you are a named addressee, please delete this message Whilst C. & J. Clark International Limited has taken steps to prevent the transmission of computer viruses with electronic mail, responsibility for screening incoming messages and the risk of such transmission and its consequences lies with the recipient. C. & J. Clark International Limited Registered in England and Wales Company No. 141015 Registered Office: 40 High Street, Street, Somerset BA16 0YA Telephone: +44 (0) 1458 443131 Fax: +44 (0) 1458 447547 |