View Single Post
  #4 (permalink)  
Old 20th December 2005
bartb bartb is offline
Junior Member
BS.Player Newbie
 
Join Date: Dec 2005
Posts: 4
Rep Power: 0
bartb is an unknown quantity at this point
Default problems with WM_COPYDATA

Hi,

Altough i managed to send the integers to do Play(), Stop(), Pause(), setVol(this.obj.Value) I cannot get the OpenFile working.

I tried to make this struct, with an pointer to the string "testfile.avi"

but i can't get it to work.

Any ideas?

Bart


// COPYDATASTRUCT cds;
//
// cds.dwData=BSP_OpenFile;
// cds.lpData=(void *) "file.avi";
// cds.cbData=strlen((char *)cds.lpData)+1;
// SendMessage(bsp_hand,WM_COPYDATA,0,(LPARAM)&cds);
// available in BSPlayer version 0.84.484+
//
// Open file
#define BSP_OpenFile 0x10108
Reply With Quote
 

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