Re: screen capture, using SoftVDigX
Re: screen capture, using SoftVDigX
- Subject: Re: screen capture, using SoftVDigX
- From: "Douglas A. Welton" <email@hidden>
- Date: Thu, 20 May 2004 23:52:25 -0400
John,
I may be able to help you if you can give me a little more explanation of
what you're want to do. Why do you want to capture the screen? Why do you
want to feed the resulting image into a faux input device (especially when
you could just save the series of images as a QuickTime movie without
needing to do a Sequence Grab)?
later,
douglas
on 5/20/04 5:31 PM, John Robinson at email@hidden wrote:
>
Hello all!
>
>
I had been searching for a way to do this for quite some time, with 0
>
success. I'm new to cocoa and c++, but have slowly been getting to
>
terms with Cocoa. After seeing the post from Douglas Welton pointing
>
out SoftVDigX, I screamed with joy, since this is exactly what I've
>
been looking for.
>
>
Now, my problem. How can I modify this sample code to first grab a
>
screenshot, and then use that screenshot instead of the included image
>
data? I've narrowed it down to these lines (I think) in the file
>
"SoftVDigKEXT.cpp":
>
>
line #92
>
>
fFrameSize = sizeOf(frame_00);
>
>
>
>
and then in SoftVDigKEXT.cpp:
>
>
line #258
>
>
memcpy( fMemBuf, frame[fFrameCounter++ % NUM_FRAMES], fFrameSize );
>
>
I can see how/where it's using the hardcoded array of frame data, but
>
I'm clueless how to replace that with a screen-capture image. Any ideas?
>
>
Huge thanks in advance!
>
>
John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.