i hope that you will send me the test code. my email: ekklesia77@naver.com
nice to meet u
i hope that you will send me the test code. my email: ekklesia77@naver.com
nice to meet u
http://www.codeproject.com/KB/shell/shellextguide1.aspx if you refer to the url which is above , you will find the answer good luck!
nice to meet u
your advice is correct. DirectInput is very good. i don't need to hook joystick it is enough to use directInput. Thank you. God bless you. nice to meet u
Now trying to hook joystick.but it's not easy to me. below is my source. //------------------------------------------------------------------ // Set Hook //------------------------------------------------------------------ BOOL SetHook( HWND hWnd ) { g_HwndServer = hWnd ; // Set Hook Server if(joySetCapture( g_HwndServer , JOYSTICKID1, 0, FALSE)) { MessageBox(g_HwndServer, "Unable to capture the joystick", NULL, MB_OK); } // set movement threshold //....................... { UINT nThreshold; joyGetThreshold(JOYSTICKID1, &nThreshold); if (nThreshold < 100) { nThreshold = 100; joySetThreshold(JOYSTICKID1, nThreshold); } } g_Hook = SetWindowsHookEx( WH_GETMESSAGE , GetMessageProc, (HINSTANCE)g_Module , 0 ) ; return false ; } //------------------------------------------------------------------ // Remove Hook //------------------------------------------------------------------ BOOL RemoveHook() { joyReleaseCapture(JOYSTICKID1); UnhookWindowsHookEx( g_Hook ) ; return true ; } //-------------------------------------------------------------- // Hook Procedure - Keyboard //-------------------------------------------------------------- LRESULT CALLBACK GetMessageProc(int nCode, WPARAM wParam, LPARAM lParam) { LPMSG msg=(LPMSG)lParam; if ((nCode >= 0) && PM_REMOVE == wParam && (msg->message == MM_JOY1MOVE { MessageBox( g_HwndServer, "Joistick", NULL, MB_OK); } // We must pass the all messages on to CallNextHookEx. return ::CallNextHookEx( g_Hook , nCode , wParam , lParam ); } the problem is that though i don't move joystick this above code is executed. i hope you help me to solve this problem. God bless you! nice to meet u
if you find these words like static_cast,reintepret_cast and dynamic_cast on msdn you will find the answer. nice to meet u
Hi! my name is jinsoo. i am korean after installing xp service pack 1 and latest windows update. i cannot register activeX control on registry. when in 2003. this job was good in windows 2000. so though using regsvr32.exe not vc++ tool .the result was the same. the error message is 0x80070715. though i find the error message in msdn. i can not find that. my system is windows xp. tool is VC++(Serviced pack 6.0). i hope you help me to solve this problem. nice to meet u nice to meet u
Hi! my name is jinsoo. i am korean after installing xp service pack 1 and latest windows update. i cannot register activeX control on registry. when in 2003. this job was good in windows 2000. so though using regsvr32.exe not vc++ tool .the result was the same. the error message is 0x80070715. though i find the error message in msdn. i can not find that. my system is windows xp. tool is VC++(Serviced pack 6.0). i hope you help me to solve this problem. nice to meet u