Thanks - I already tried that, although I am not sure if I did this right. I think you are referring to this:
lpszFlags
wsprintf(
lpszCommand,
"seek %s %s %s",
lpszDeviceID,
lpszSeekFlags,
lpszFlags
);
...
lpszFlags:
Can be "wait", "notify", or both. For digital-video and VCR devices, "test" can also be specified. For more information about these flags, see The Wait, Notify, and Test Flags.
I still don't know what the bit values of these constants should be:
MCI_WAIT
MCI_NOTIFY
MCI_TEST
If it's 1 for wait, then I think I already tried it without success. But I'll surely doublecheck this.
EDIT:
Ah, good old pascal programmers:
const MCI_WAIT = 2
const MCI_NOTIFY = 1
...testing...
Ah, i've just realized that I am doing something completely wrong. I've tried to use the last parameter of mciSendString for this flag, but the parameter should be used for a callbackHWND!
But how should I add the flag to the command string? Should I simply Space-delimit-append it at the end of the string? Or comma delimited? And what do I have to use, it's value, "2" or "wait"? I have no idea.
EDIT2:
uh, infact you already said it, it should be " wait", so i take it it's comma delimited. ...
It seems it still don't works. I tried various combinations, like seek with wait, update with wait and both, but it's still some kind of random game.
I think I really got to try Avisynth since it's a highly advanced Frameserver, especially compared to MCISendstring.
lpszFlags
wsprintf(
lpszCommand,
"seek %s %s %s",
lpszDeviceID,
lpszSeekFlags,
lpszFlags
);
...
lpszFlags:
Can be "wait", "notify", or both. For digital-video and VCR devices, "test" can also be specified. For more information about these flags, see The Wait, Notify, and Test Flags.
I still don't know what the bit values of these constants should be:
MCI_WAIT
MCI_NOTIFY
MCI_TEST
If it's 1 for wait, then I think I already tried it without success. But I'll surely doublecheck this.
EDIT:
Ah, good old pascal programmers:
const MCI_WAIT = 2
const MCI_NOTIFY = 1
...testing...
Ah, i've just realized that I am doing something completely wrong. I've tried to use the last parameter of mciSendString for this flag, but the parameter should be used for a callbackHWND!
But how should I add the flag to the command string? Should I simply Space-delimit-append it at the end of the string? Or comma delimited? And what do I have to use, it's value, "2" or "wait"? I have no idea.
EDIT2:
uh, infact you already said it, it should be " wait", so i take it it's comma delimited. ...
It seems it still don't works. I tried various combinations, like seek with wait, update with wait and both, but it's still some kind of random game.
I think I really got to try Avisynth since it's a highly advanced Frameserver, especially compared to MCISendstring.