17. September 200817 j Hi, ich habe folgendes Problem. Ich möchte eine Funktion IoGetDeviceInterfaces aufrufen. Wenn ich es mache bekomme ich als folge solche Errors: DeviceControler.obj : error LNK2028: unresolved token (0A00001D) "long __stdcall IoGetDeviceInterfaces(struct _GUID const *,struct _DEVICE_OBJECT *,unsigned long,wchar_t * *)" (?IoGetDeviceInterfaces@@$$FYGJPBU_GUID@@PAU_DEVICE_OBJECT@@KPAPA_W@Z) referenced in function "private: void __clrcall DeviceControler::Form1::EnableCDDrivers(bool)" (?EnableCDDrivers@Form1@DeviceControler@@$$FA$AAMX_N@Z) DeviceControler.obj : error LNK2019: unresolved external symbol "long __stdcall IoGetDeviceInterfaces(struct _GUID const *,struct _DEVICE_OBJECT *,unsigned long,wchar_t * *)" (?IoGetDeviceInterfaces@@$$FYGJPBU_GUID@@PAU_DEVICE_OBJECT@@KPAPA_W@Z) referenced in function "private: void __clrcall DeviceControler::Form1::EnableCDDrivers(bool)" (?EnableCDDrivers@Form1@DeviceControler@@$$FA$AAMX_N@Z) Ich habe folgende Biblitheken angebunden: kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wdm.lib wdmguid.lib wdmsec.lib Weisst jemand wo das Problem Liegt? Danke!
17. September 200817 j Ein Thema, ein Thread. Hier geht's weiter: http://forum.fachinformatiker.de/c-c/119841-error-lnk2028-unresolved-token-iogetdeviceinterfaces.html
Archiv
Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.