Thread: SDK problem
View Single Post
  #6 (permalink)  
Old 20th April 2003
cdrom cdrom is offline
Junior Member
BS.Player Newbie
 
Join Date: Apr 2003
Posts: 3
Rep Power: 0
cdrom is an unknown quantity at this point
Default

I found answer for problem that I reported abaot failing my program when I try to open file or subtitle
instead of
SendMessage(b_hWnd, WM_COPYDATA, 0, lParam(@cds));//in delphi
or
SendMessage(b_hwnd, WM_COPYDATA, 0, (LPARAM)&cds);//in VC6
must be used
SendMessageTimeout(b_hWnd, WM_COPYDATA, 0, lParam(@cds), SMTO_ABORTIFHUNG, 1, p); // in Delphi
and
SendMessageTimeout(b_hwnd, WM_COPYDATA, 0, (LPARAM)&cds, SMTO_ABORTIFHUNG, 1, &i);// in VC6
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20