![]() |
SDK 1.1 (1.0.800) Bugs The result of BSP_GETVERSION is always- 1 The command BSP_Exit doesn't work I have not checked the others. Bye, Giubbe |
Hmm this should work. Could you post some example code ? |
I apologize, I mistake The BSP_GETVERSION works, I had send the wrong command The BSP_Exit works only if the filmed is on play The following code works well in 0.86.501, but not in 1.0.800 (not exit) repeat hWnd2 := FindWindow('BSPlayer',nil); Application.ProcessMessages; if Time - Te > 1/24/60 then begin TempoOK:=false; hWnd2:=1; end; until hWnd2<>0; if tempoOK then begin Ver := SendMessage(hWnd2, WM_BSP_CMD, BSP_GETVERSION, 0); SendMessage(hWnd2, WM_BSP_CMD, BSP_Play, 0); SendMessage(hWnd2, WM_BSP_CMD, BSP_Exit, 0); end This you instead work well in both the versions repeat hWnd2 := FindWindow('BSPlayer',nil); Application.ProcessMessages; if Time - Te > 1/24/60 then begin TempoOK:=false; hWnd2:=1; end; until hWnd2<>0; if tempoOK then begin Ver := SendMessage(hWnd2, WM_BSP_CMD, BSP_GETVERSION, 0); showMessage(IntToStr(ver)); SendMessage(hWnd2, WM_BSP_CMD, BSP_Play, 0); SendMessage(hWnd2, WM_BSP_CMD, BSP_Exit, 0); end This code starts the Chapter Cap with 0.86.501 and the chapter Cap-1 in 1.0.800 for t:=1 to Cap do SendMessage(bsp_hand,WM_BSP_CMD,BSP_NextCh,0); |
All times are GMT +1. The time now is 10:59 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger