View Single Post
  #1 (permalink)  
Old 22nd July 2004
cb4zztn cb4zztn is offline
Junior Member
BS.Player Newbie
Join Date: Jul 2004
Posts: 5
Rep Power: 0
cb4zztn is an unknown quantity at this point
Default BSP_GetFileName and the OSD


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);


char buf[MAX_PATH];
void *adr;


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. ;)

Reply With Quote

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