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::Disabl eMotionPlus(voi d)" (?DisableMotion Plus@wiimote@@$ $FQAE_NXZ) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2028: unresolved token (0A0000CC) "public: bool __thiscall wiimote::Enable MotionPlus(void )" (?EnableMotionP lus@wiimote@@$$ FQAE_NXZ) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2028: unresolved token (0A0000CD) "public: void __thiscall wiimote::SetRep ortType(enum wiimote::input_ report,bool)" (?SetReportType @wiimote@@$$FQA EXW4input_repor t@1@_N@Z) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wiimote::Disabl eMotionPlus(voi d)" (?DisableMotion Plus@wiimote@@$ $FQAE_NXZ) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wiimote::Enable MotionPlus(void )" (?EnableMotionP lus@wiimote@@$$ FQAE_NXZ) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: void __thiscall wiimote::SetRep ortType(enum wiimote::input_ report,bool)" (?SetReportType @wiimote@@$$FQA EXW4input_repor t@1@_N@Z) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>D:\Documents\ Visual Studio 2010\Projects\W II\Debug\WII.ex e : 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.
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::Disabl eMotionPlus(voi d)" (?DisableMotion Plus@wiimote@@$ $FQAE_NXZ) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2028: unresolved token (0A0000CC) "public: bool __thiscall wiimote::Enable MotionPlus(void )" (?EnableMotionP lus@wiimote@@$$ FQAE_NXZ) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2028: unresolved token (0A0000CD) "public: void __thiscall wiimote::SetRep ortType(enum wiimote::input_ report,bool)" (?SetReportType @wiimote@@$$FQA EXW4input_repor t@1@_N@Z) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wiimote::Disabl eMotionPlus(voi d)" (?DisableMotion Plus@wiimote@@$ $FQAE_NXZ) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wiimote::Enable MotionPlus(void )" (?EnableMotionP lus@wiimote@@$$ FQAE_NXZ) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: void __thiscall wiimote::SetRep ortType(enum wiimote::input_ report,bool)" (?SetReportType @wiimote@@$$FQA EXW4input_repor t@1@_N@Z) referenced in function "void __cdecl on_state_change (class wiimote &,enum state_change_fl ags,struct wiimote_state const &)" (?on_state_chan ge@@$$FYAXAAVwi imote@@W4state_ change_flags@@A BUwiimote_state @@@Z)
1>D:\Documents\ Visual Studio 2010\Projects\W II\Debug\WII.ex e : 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.