I've been trying to play a video inside of my app using winmm; I found an example for VB and translated it to FASM, but I can't figure out how to put the window's handle into the byte that I'm trying to send;
v1 db 'open 123.avi alias vid1 parent (the handle has to be here) style child',0
v2 db 'put vid1 window at 0 0 100 100',0
v3 db 'Play vid1 notify',0
invoke mciSendString, v1, nullstring, 0, 0
invoke mciSendString, v2, nullstring, 0, 0
invoke mciSendString, v3, nullstring, 0, 0
I tried to use wprintf but to no avail; can someone please give me an example of playing a video inside the app's window?
Finally understood how wsprintf works! Here's a working example of a video player: