[Mono-list] screen capturing in mono

Eric Morgan eric at rengeo.com
Wed Feb 28 13:45:29 EST 2007


Hi all,

Is there a good way to capture screens or something similar in mono?  In our
.NET application, we have custom controls, and we basically create a
graphics object from it, make a new bitmap, then do a bitblt to get it into
the bitmap.  This requires a P/Invoke into gdi32.dll, which obviously blows
up in mono.  Is there a good way to do this using mono?  Some other library
maybe?

I've tried installing wine and using the gdi32.dll.so that comes with it,
but I don't know if I'm using it correctly or not.  It can find the library,
but it gives a SIGSEGV while trying to execute the bitblt operation.  Seemed
like kind of a hack, and I didn't really expect it to work...  Do I need
other libraries along with the gdi32.dll.so ?

Any advice is appreciated.  Thanks.

Eric Morgan
Renegade Geophysics
303-661-0400, x2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070228/5288791b/attachment.html 


More information about the Mono-list mailing list