• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
screen capture, using SoftVDigX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

screen capture, using SoftVDigX


  • Subject: screen capture, using SoftVDigX
  • From: John Robinson <email@hidden>
  • Date: Thu, 20 May 2004 17:31:45 -0400

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.


  • Follow-Ups:
    • Re: screen capture, using SoftVDigX
      • From: "Douglas A. Welton" <email@hidden>
  • Prev by Date: Creating a Droplet that accepts aliasses
  • Next by Date: NSCursor from 2 bitmaps
  • Previous by thread: [Repost] Creating a Droplet that accepts aliasses
  • Next by thread: Re: screen capture, using SoftVDigX
  • Index(es):
    • Date
    • Thread