Error 17 error LNK2028: unresolved token (0A000020) "extern "C" int __stdcall SetupDiEnumDeviceInterfaces(void *,struct _SP_DEVINFO_DATA *,struct _GUID const *,unsigned long,struct _SP_DEVICE_INTERFACE_DATA *)" (?SetupDiEnumDeviceInterfaces@@$$J220YGHPAXPAU_SP_DEVINFO_DATA@@PBU_GUID@@KPAU_SP_DEVICE_INTERFACE_DATA@@@Z) referenced in function "void * __clrcall OpenUsbDevice(struct _GUID *,char *)" (?OpenUsbDevice@@$$FYMPAXPAU_GUID@@PAD@Z) Prilogenie.obj Prilogenie
Error 18 error LNK2028: unresolved token (0A000021) "extern "C" int __stdcall SetupDiDestroyDeviceInfoList(void *)" (?SetupDiDestroyDeviceInfoList@@$$J14YGHPAX@Z) referenced in function "void * __clrcall OpenUsbDevice(struct _GUID *,char *)" (?OpenUsbDevice@@$$FYMPAXPAU_GUID@@PAD@Z) Prilogenie.obj Prilogenie
Error 19 error LNK2028: unresolved token (0A000024) "extern "C" void * __stdcall SetupDiGetClassDevsW(struct _GUID const *,wchar_t const *,struct HWND__ *,unsigned long)" (?SetupDiGetClassDevsW@@$$J216YGPAXPBU_GUID@@PB_WPAUHWND__@@K@Z) referenced in function "void * __clrcall OpenUsbDevice(struct _GUID *,char *)" (?OpenUsbDevice@@$$FYMPAXPAU_GUID@@PAD@Z) Prilogenie.obj Prilogenie
Error 20 error LNK2028: unresolved token (0A00002B) "extern "C" int __stdcall SetupDiGetDeviceInterfaceDetailW(void *,struct _SP_DEVICE_INTERFACE_DATA *,struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W *,unsigned long,unsigned long *,struct _SP_DEVINFO_DATA *)" (?SetupDiGetDeviceInterfaceDetailW@@$$J224YGHPAXPAU_SP_DEVICE_INTERFACE_DATA@@PAU_SP_DEVICE_INTERFACE_DETAIL_DATA_W@@KPAKPAU_SP_DEVINFO_DATA@@@Z) referenced in function "void * __clrcall OpenOneDevice(void *,struct _SP_DEVICE_INTERFACE_DATA *,char *)" (?OpenOneDevice@@$$FYMPAXPAXPAU_SP_DEVICE_INTERFACE_DATA@@PAD@Z) Prilogenie.obj Prilogenie
Error 21 error LNK2019: unresolved external symbol "extern "C" int __stdcall SetupDiGetDeviceInterfaceDetailW(void *,struct _SP_DEVICE_INTERFACE_DATA *,struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W *,unsigned long,unsigned long *,struct _SP_DEVINFO_DATA *)" (?SetupDiGetDeviceInterfaceDetailW@@$$J224YGHPAXPAU_SP_DEVICE_INTERFACE_DATA@@PAU_SP_DEVICE_INTERFACE_DETAIL_DATA_W@@KPAKPAU_SP_DEVINFO_DATA@@@Z) referenced in function "void * __clrcall OpenOneDevice(void *,struct _SP_DEVICE_INTERFACE_DATA *,char *)" (?OpenOneDevice@@$$FYMPAXPAXPAU_SP_DEVICE_INTERFACE_DATA@@PAD@Z) Prilogenie.obj Prilogenie
Error 22 error LNK2019: unresolved external symbol "extern "C" int __stdcall SetupDiEnumDeviceInterfaces(void *,struct _SP_DEVINFO_DATA *,struct _GUID const *,unsigned long,struct _SP_DEVICE_INTERFACE_DATA *)" (?SetupDiEnumDeviceInterfaces@@$$J220YGHPAXPAU_SP_DEVINFO_DATA@@PBU_GUID@@KPAU_SP_DEVICE_INTERFACE_DATA@@@Z) referenced in function "void * __clrcall OpenUsbDevice(struct _GUID *,char *)" (?OpenUsbDevice@@$$FYMPAXPAU_GUID@@PAD@Z) Prilogenie.obj Prilogenie
Error 23 error LNK2019: unresolved external symbol "extern "C" int __stdcall SetupDiDestroyDeviceInfoList(void *)" (?SetupDiDestroyDeviceInfoList@@$$J14YGHPAX@Z) referenced in function "void * __clrcall OpenUsbDevice(struct _GUID *,char *)" (?OpenUsbDevice@@$$FYMPAXPAU_GUID@@PAD@Z) Prilogenie.obj Prilogenie
Error 24 error LNK2019: unresolved external symbol "extern "C" void * __stdcall SetupDiGetClassDevsW(struct _GUID const *,wchar_t const *,struct HWND__ *,unsigned long)" (?SetupDiGetClassDevsW@@$$J216YGPAXPBU_GUID@@PB_WPAUHWND__@@K@Z) referenced in function "void * __clrcall OpenUsbDevice(struct _GUID *,char *)" (?OpenUsbDevice@@$$FYMPAXPAU_GUID@@PAD@Z) Prilogenie.obj Prilogenie
Error 25 fatal error LNK1120: 8 unresolved externals C:\project_for_VS\Prilogenie\Debug\Prilogenie.exe Prilogenie
Вот такой ужас, (работаю в VS 2008)...