Hi all, I successfully integrated ZeroMQ into my new iPhone app (see it in 
action at http://www.ibuzzedfirst.com/ ), and now I'm moving on to the other 
mobile platforms, i.e. Windows Phone 7 and Android.

With Windows Phone 7 however, I've hit a dead end pretty quickly, which I 
thought I would share, as I don't see a solution right now.

Windows Phone 7 development is via C# and a Silverlight 4-like platform. I have 
plenty of experience in C#, WPF, and Silverlight, so I though this would be a 
cinch.

But get this: Windows Phone 7 DOES NOT SUPPORT native C/C++ Libraries, or 
P/Invoke support UNLESS you are a major OEM vendor, but NOT as an independent 
developer.

Even before I realised this, I hit a few problems. I tried building the normal 
ZeroMq .net clrzmq2 wrapper. I built against the earlier Windows Phone 7.0 
platform first, only to discover that System.Net.Socket support isn't present 
in 7.0!! Actually, it turns out socket support has been added and is present in 
7.1/5 'Mango', so more of clrzmq built, but still not all of it as several 
methods in the Marshall class implementation and others in the Mango 7.5 are 
still not supplied by Microsoft.

I was going to investigate this further, but then discovered the inability to 
include custom C/C++ libraries, which tops everything.

The only possible solution would be to port the entire C ZeroMQ source base to 
C#, rather than just having a C# wrapper that calls into C library 
implementation as present.

Has anyone done this?

Thanks,
Nick Talbot
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to