DLPortIO - unresolved external (war: DLPortIO)
-
Hallo,
Möchte mit dem DLPortIO Treiber ein GLCD 320x280 Pixel Ansprechen mit einem SED1330 Controller, die Datasheets hab ich alle kein Problem.
Nur mein Problem ist die DLPortIO Einbindung in mein C++ Builder Projekt.
Ich hab vom DLPortIO API die DLPORTIO.H und die DLPORTIO.lib.Das was ich bis jetzt gemacht hab:
- Die beiden Dateien in mein Projektverzeichnis Kopiert.
- Unit1.cpp:
#include <vcl.h> #pragma hdrstop #include "Unit1.h" #include "DLPORTIO.H" #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form1; __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } void __fastcall TForm1::Button1Click(TObject *Sender) { DlPortWritePortUshort(0x378, 0x40); }
und in meiner Projekt1.cpp hab ich
USELIB("DLPORTIO.lib");
eingetragen
Nur bringt mein C++ Builder bei der Funktion "DlPortWritePortUshort" ein Unresolved External 'DlPortWritePortUshort' referenced from blablablabla...
Was mach ich falsch?
Edit:
Bitte aussagekräftige Überschriften wählen. Danke!
-
Siehe FAQ unter "Linker error".