OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: doublec on June 21, 2004, 05:52:18 pm

Title: .NET for the Zaurus
Post by: doublec on June 21, 2004, 05:52:18 pm
I\'ve compiled Portable .NET for the Zaurus on pdaxrom which enables you to run some .NET programs, including GUI ones that use Windows Forms. For IPK\'s and information see:

http://radio.weblogs.com/0102385/categorie...06/22.html#a615 (http://radio.weblogs.com/0102385/categories/zaurus/2004/06/22.html#a615)

The speed is not too bad! The development tools are included allowing you to compile C# and C .NET programs.

Chris.
Title: .NET for the Zaurus
Post by: Reaper on June 23, 2004, 10:03:07 am
Thanks, doublec! If I may ask you a question: will I be able to run WinCE.NET programs with your emulator? I've already downloaded PocketPC emulator for CE.NET and can't wait to try to run PPC progs on my Z. I do like Linux , but there are few programs for pdaX nowadays...
Title: .NET for the Zaurus
Post by: mugur on June 23, 2004, 11:08:28 am
 
Hi doublec,
Thanks for your work,
Is there a way to port all these things you have made to SL-5600(Sharp Rom or OZ ROM). Or is it trivial (just donload and install, I oe but don't think so). I (and most of the SL-5600 users) would be grateful... As Reaper said linux is great but some programs  dos not exist for her...
Thanks
Title: .NET for the Zaurus
Post by: _Psycho on June 23, 2004, 03:48:38 pm
Quote
I've compiled Portable .NET for the Zaurus on pdaxrom which enables you to run some .NET programs, including GUI ones that use Windows Forms. For IPK's and information see:

http://radio.weblogs.com/0102385/categorie...06/22.html#a615 (http://radio.weblogs.com/0102385/categories/zaurus/2004/06/22.html#a615)

The speed is not too bad! The development tools are included allowing you to compile C# and C .NET programs.

Chris.
This sound really cool, does Portable .NET use QT for his GUI ? If so doing a compile for the Sharp ROM is possible isnt ? Thats really my big question here
Title: .NET for the Zaurus
Post by: doublec on June 23, 2004, 06:36:57 pm
Yes, you should be able to run some WINCE.NET programs using it. Remember that Portable.NET is not complete yet but it is getting there.

There is Qt support available but I haven't compiled it. It can be obtained from:

  http://qtcsharp.sourceforge.net/ (http://qtcsharp.sourceforge.net/)

Yes, this code should be able to be compiled for the standard ROM. I compiled it using 'with-x' to get the graphics support and System.Windows.Forms support. I don't think you'll get this with the standard ROM as they require X. You would be able to use QtSharp directly though.

I compiled everything natively on the Zaurus so as long as the 5600 can do this also then the code from the Portable.NET CVS should 'just work'. I needed to make no changes to the CVS code at all to get things to work.

Chris.
Title: .NET for the Zaurus
Post by: Reaper on June 27, 2004, 12:13:18 pm
Unfortunately, it doesn't work.  I installed all the packs in the proper order (just renamed them to ce?.ipk, because I'd downloaded them onto a Win 3.11 system), and when I type something like "/mnt/user/usr/local/bin/ilrun /mnt/card/app.exe", it shows the following error message: "wine: No such file or directory". What can I do to correct this problem? Could you give me some links to free/shareware soft for CE.NET that certainly works with this emulator?
Title: .NET for the Zaurus
Post by: doublec on June 27, 2004, 07:21:55 pm
The most likely cause for this error is that the application you are trying to run is not a pure .NET application. It probably contains managed code that calls the Win32 API. This will not run on any non i386 platform. What was the application?

Portable.NET will only allow running applications written in 'pure' .NET. It's much like trying to run a Java program that has i386 native code in it on a JVM on the Zaurus. It won't work.
Title: .NET for the Zaurus
Post by: Reaper on June 28, 2004, 11:26:32 am
I tried Freeswapper http://www.hpc.ru/soft/download.phtml?id=6169 (http://www.hpc.ru/soft/download.phtml?id=6169) and Pocket PC emulator for CE.NET CEmenu 0.9b8 http://www.hpc.ru/soft/download.phtml?id=4935 (http://www.hpc.ru/soft/download.phtml?id=4935). You'll also need these 2 dll's: http://www.hpc.ru/soft/download.phtml?id=5226 (http://www.hpc.ru/soft/download.phtml?id=5226) and http://www.hpc.ru/soft/download.phtml?id=4926 (http://www.hpc.ru/soft/download.phtml?id=4926) to emulate note_prj.dll and gx.dll.

None of these programs worked.
Title: .NET for the Zaurus
Post by: doublec on June 28, 2004, 07:37:21 pm
Yes. these are definitely not pure .NET applications. With Java Sun did a push to encourage all developers to use 100% Java and this paid off in that most Java applications will work across JVM's. Microsoft have no such push and actively encourage mixing in unmanaged code in the application so very few applications will work.

The main advantage of having a .NET runtime on the Zaurus is being able to develop and write applications for the Zaurus that will also run on the desktop and vice versa. Until more of these applications are developed, and more developers stick to the portable .NET libraries, then not much software will run. Look for software developed with Mono and Portable .NET to run on Linux and you can reasonably expect them to work.
Title: .NET for the Zaurus
Post by: zi99y on November 18, 2006, 03:06:50 pm
I realise these packages are pretty old but has anyone used pocket .net on pdaxrom? I can't get any of the most basic samples to compile.... there's a recent version on the website which could be nice to have compiled if it's any good.