Hi
I have problem with one of my project in Visual C++ Forms aplications. I included the wiimote.h header and added path to WinDDK but when i try bulid project i've got this errors
1>WII.obj : error LNK2028: unresolved token (0A0000CB) "public: bool __thiscall wiimote::DisableMotionPlus(void)" (?DisableMotionPlus@wiimote@@$$FQAE_NXZ) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2028: unresolved token (0A0000CC) "public: bool __thiscall wiimote::EnableMotionPlus(void)" (?EnableMotionPlus@wiimote@@$$FQAE_NXZ) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2028: unresolved token (0A0000CD) "public: void __thiscall wiimote::SetReportType(enum wiimote::input_report,bool)" (?SetReportType@wiimote@@$$FQAEXW4input_report@1@_ N@Z) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wiimote::DisableMotionPlus(void)" (?DisableMotionPlus@wiimote@@$$FQAE_NXZ) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wiimote::EnableMotionPlus(void)" (?EnableMotionPlus@wiimote@@$$FQAE_NXZ) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: void __thiscall wiimote::SetReportType(enum wiimote::input_report,bool)" (?SetReportType@wiimote@@$$FQAEXW4input_report@1@_ N@Z) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>D:\Documents\Visual Studio 2010\Projects\WII\Debug\WII.exe : fatal error LNK1120: 6 unresolved externals
can anybody tell me what can it be?
Anyway this program work as console aplication - i try move console aplication to windows form.