On 22.07.2011 00:56, Ivo Smits wrote:
> Also, I think that eventually the 'reverse interop code' could be
> generated from an assembly file by using the Reflection framework. You
> could make the code generator a managed application.
This is kinda obvious :) The same in C++ would be taking
like 10
Hi,
I tried to make a patch that fixes the problem - see attached file.
My example code now works without problems. I also attached
the patch to novell-mono-bugzilla, but I'm not really sure if that's
the right place.
Bye Mirko
Von: Rodrigo Kumpera [mailto:kump...@gmail.com]
Gesendet: Donnerst
I have a project that needs access to Linux Bluetooth sockets from Mono.
Miguel previously suggested that I would have to manually P/Invoke to socket
(and connect, bind, getpeername, etc) and use Reflection to set the fd value
returned by the socket call into the "socket" field in the Socket cl
On 22.07.2011 13:08, Andy Hume wrote:
> Presumably I can't convert my fd to a wapi handle somehow... So is
> that plan not going to work? :-,(
It won't work. The whole socket machinery assumes type AF_UNIX or
AF_INET. If you set a fd of some other address family type,
a lot of nasty things could
> From: mono-devel-list-boun...@lists.ximian.com
> [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf
> Of Robert Jordan
> Sent: 22 July 2011 12:43
> To: mono-devel-list@lists.ximian.com
> Subject: Re: [Mono-dev] Non-TCP/IP socket access
>
> On 22.07.2011 13:08, Andy Hume wrote:
> > Pre
On 22.07.2011 15:00, Andy Hume wrote:
>> From: mono-devel-list-boun...@lists.ximian.com
>> [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf
>> Of Robert Jordan
>> Sent: 22 July 2011 12:43
>> To: mono-devel-list@lists.ximian.com
>> Subject: Re: [Mono-dev] Non-TCP/IP socket access
>>
>> On
On 22.07.2011 15:40, Robert Jordan wrote:
> On 22.07.2011 15:00, Andy Hume wrote:
>>> From: mono-devel-list-boun...@lists.ximian.com
>>> [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf
>>> Of Robert Jordan
>>> Sent: 22 July 2011 12:43
>>> To: mono-devel-list@lists.ximian.com
>>> Subject
On Fri, Jul 22, 2011 at 7:51 AM, Mirko Wischer wrote:
> Hi,
>
> I tried to make a patch that fixes the problem - see attached file.
> My example code now works without problems. I also attached
> the patch to novell-mono-bugzilla, but I'm not really sure if that's
> the right place.
>
> Bye Mirko
> -Original Message-
> From: mono-devel-list-boun...@lists.ximian.com
> [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf
> Of Robert Jordan
> Sent: 22 July 2011 14:41
> To: mono-devel-list@lists.ximian.com
> Subject: Re: [Mono-dev] Non-TCP/IP socket access
>
> On 22.07.2011 15
> -Original Message-
> From: mono-devel-list-boun...@lists.ximian.com
> [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf
> Of Robert Jordan
> Sent: 22 July 2011 15:15
> To: mono-devel-list@lists.ximian.com
> Subject: Re: [Mono-dev] Non-TCP/IP socket access
>
> On 22.07.2011 15
On 22.07.2011 17:12, Andy Hume wrote:
> Wow. I'll give that a go. What kind of lock? Just Monitor.Enter?
Yes. lock(...) {...}
>
> Ohh wait. The handle in the Socket is (surely?) the WAPI Handle and not
> the FD...
No, it's actually the naked fd. See Socket_internal()'s usage
in Socket_2_1.cs
Op 22-7-2011 17:05, Andy Hume schreef:
> That was the most beautiful ugly thing I've seen in a long time. :-)
> Unfortunately I haven't managed to get it to work:
> 1) Try [DllImport("__Internal")] extern int _wapi_socket(..)
> Swallowed Exception: System.EntryPointNotFoundException: _wapi_socket
>
On 22.07.2011 18:04, Ivo Smits wrote:
> Op 22-7-2011 17:05, Andy Hume schreef:
>> That was the most beautiful ugly thing I've seen in a long time. :-)
>> Unfortunately I haven't managed to get it to work:
>> 1) Try [DllImport("__Internal")] extern int _wapi_socket(..)
>> Swallowed Exception: System
Hi Ivo,
On 21 July 2011 23:56, Ivo Smits wrote:
>
> That doesn't give the full power of Mixed Mode assemblies, but I think
> it's definitely an interesting approach with many potential uses.
> Especially, I think, when replacing existing libraries or building
> plugins or extensions for existing
On 20 July 2011 23:45, Robert Jordan wrote:
> Hi Tom!
Hi Robert!
> Yes - this is a good idea. I'm also wondering if the support library
> should
> > actually be linked in as a shared library, in which case it can simply
> hold
> > a flag about whether or not the JIT has been loaded.
>
> That
Hi,
Every year Unity has a conference where we bring together employees,
customers and friends, for a multiday learning, laughing and dancing event.
This year it is held in San Francisco, September 28-29-30.
This is an invitation for every contributor to the mono project to
attend the conferen
Plain and simple. I would like to be able to take a screen shot which I can
then place inside a picturebox. The closest I have come to is this:
http://stackoverflow.com/questions/5243021/how-to-take-screenshot-from-panel-in-mono-c
Link
This would work, but it doesn't resize, and it is really slo
17 matches
Mail list logo