|
From: Whitfield, E. <Edw...@na...> - 2001-01-17 17:26:40
|
I have been trying to use a dll (QCard32.DLL) to create a simple card program with Dev-C++ 4.1. I have added the qcard32.lib file to the Project Options -- and included the qcard32.h header file in the main.cpp file. I have added a menu item to try and show one card -- including two function calls: one to initialize the deck and the other to deal one card. Everything compiles and links just fine -- the dll is located with the executable and in the //windows/system directory. But when I try to execute the program, I get the following dialog box messages: "The cardtest.exe file is linked to missing export QCARD32.DLL:." and "cardtest.exe A device attached to the system is not functioning." I know that the DLL and LIB files are okay. I have used them in a VB5 application and with XBasic. Does anyone have any suggestions or advice on what I am doing wrong? You help is appreciated. |