[Mono-dev] Bitmap return type remoting problem

buhochileno at gmail.com buhochileno at gmail.com
Wed Nov 21 16:01:04 EST 2007


Hi:

I have a class (with the corrsponding interface) that have a method with 
a Bitmap as a return type, something like:

class c
{
    Bitmap GetLastFrame()
    {
             return new Bitmap("/tmp/baboon.jpg");
    }
}
I'm able to register the object with remoting and call other method, 
properties, etc, but when I call the "GetLastFrame" method I get a "Null 
or Invalid object value....", if I call the method without remoting all 
work ok, but when I make the call from a client with remoting I get this 
problem, ofcourse the "/tmp/baboon.jpg" file exist on the remoting 
server....

any sugestion?.

thanks.

Mauricio




More information about the Mono-devel-list mailing list