![]() |
|
General Talk And Support General talk and peer-to-peer support about BS.Player and other video and audio multimedia players. |
| LinkBack ![]() | Thread Tools ![]() | Search this Thread ![]() | Display Modes ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| |||
![]()
Hi, first of all great player! I'm currently trying to write a little BSPlayer2Mirc-thingie for myself and so far displaying movielength, current position and player-version is working but getting the filename still doesn't somehow. I've looked through the forum but didn't find a solution. I mainly used the code from the SDK: ---- HWND bsp_hand = FindWindow("BSPlayer",NULL); COPYDATASTRUCT cds; char buf[MAX_PATH]; void *adr; adr=&buf; cds.dwData=BSP_GetFileName; cds.lpData=&adr; cds.cbData=4; SendMessage(bsp_hand,WM_COPYDATA,0,(LPARAM)&cds); strcpy(data, buf); --- Problem is all I get in buf (and data) are strange I-like chars as if buf would still be uninitialized. The whole thing is a function within a DLL. Any ideas what could be wrong? :/ And there's something else: is it possible to message the OSD any text to display? I'd like to display lines from an IRC-chan in the player so watching in fullscreen wouldn't result in missing stuff. ;) I already did that with DScaler an got kinda used to it. ;) //Sebastian |
Tags |
bspgetfilename, osd |
| |