SDK message exit
the bsp_exit doesn't work:
bsp_hand:=FindWindow('BSPlayer',nil);
GetWindowThreadProcessId(bsp_hand,@NewProcessId.hp rocess);
NewProcessId.hprocess:=OpenProcess(PROCESS_ALL_ACC ESS, False, NewProcessId.hprocess);
SendMessage(bsp_hand,WM_BSP_CMD,BSP_Stop,0);//
SendMessage(bsp_hand,WM_BSP_CMD,BSP_CloseM,0);
SendMessage(bsp_hand,WM_BSP_CMD,BSP_Exit,0);
closeHandle(NewProcessId.hprocess);
bsplayer (build 500) is not closed
thanks
Giubbe
|