Could someone please give me an example of a capture exe that uses the
direct x, but i need it with the grabber sample....
Furthermore, you can formulate the correct way to do it, by scanning
this newsgroup, as I did...
The most important thing w/ samplegrabber is if you want to take still
shots, you will need to connect the output pin of the video capture
filter to the samplegrabber's input physically (using connect() etc).
Our application has been doing this for a long time, but unfortunately we
have some sort of minor issue and the shift state is not properly recognized
when we attempt to translate the WM_KEYDOWN message to the appropriate ASCII
No problem for alphabetics and numbers, but it is impossible for us to
current distinguish between the number values above the alpha keys and the
corresponding shifted character (E.g. a '$' and '4' both get mapped to '4').
Here is what our code does with the WM_KEYDOWN message:
if (pMsg->message == WM_KEYDOWN)
int rc = ToAscii(pMsg->wParam, LOBYTE(HIWORD(pMsg->lParam)), keystate,