in reply to Re: Re: Re: How to capture screen under Win32?
in thread How to capture screen under Win32?

Cool...

I told you I was probably wrong :)

I just checked the MS docs, and getDC takes a window handle as an argument. Pass 0 to get the DC for the whole screen.

And don't forget to call ReleaseDC, or bad things can happen...

We now exit MS win32 api hell, and return you to your regularly scheduled perl programming :)
--
Mike

  • Comment on Re: Re: Re: Re: How to capture screen under Win32?