
20th April 2003
|
Junior Member BS.Player Newbie | | Join Date: Apr 2003
Posts: 3
Rep Power: 0 | |
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
|