Are you P/Invoking for performance?  Why not just use the GDI .Net API?

-Abe

On 2/28/07, Eric Morgan <[EMAIL PROTECTED]> wrote:
> 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
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to