Re: screen capture, using SoftVDigX
Re: screen capture, using SoftVDigX
- Subject: Re: screen capture, using SoftVDigX
- From: Antoine Rosset <email@hidden>
- Date: Mon, 26 Jul 2004 21:00:34 -0700
on 5/20/04 5:31 PM, John Robinson at <email_removed> 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?
It's done!
You can download it:
http://homepage.mac.com/rossetantoine/ScreenBroadcasting.html
Sincerely,
Antoine
<> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <>
<> OSIRIX: Next Generation DICOM Viewer
<>
http://homepage.mac.com/rossetantoine/osirix
<>
<> Antoine ROSSET, M.D. (email@hidden)
<> Apt# 109, 430 Kelton Av.
<> Los Angeles, CA 90024, USA
<> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <>
_______________________________________________
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.