View Single Post
Old 15th February 2010, 22:09   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
not knowing all of the C# syntax, i'd suggest making sure that it's a pointer to the string you're passing and not the address of the buffer holding it. and also that it is an ansi encoded string (or change IPC_PLAYFILE to the unicode IPC_PLAYFILEW variant if it's a unicode string you're working with). other than that not too much else i can think off with my limited knowledge with C# (though how you've declared SendMessageA(..) but used SendMessage(..) is a bit baffling).

-daz
DrO is offline   Reply With Quote