|
H/PC Elite Posts: | 660 |
Location: | Florida, US | Status: | |
| You all know that my favorite HPC of all time is the Jornada 72x. Being a developer for so many years, it is a shame that I’ve never tried to write anything for my little computer. I’ve seen some posts about .net cf on wince 2.00 but I couldn’t find any download of the runtime for wince 3.00. Will the 2.00 runtime work on HPC2000 devices as well? Also, in terms of development IDE, which version of visual studio would be the most appropriate to start writing .net cf 1.0 apps? VS2003? Is there any free alternative? I know .net cf is a subset of the regular .net framework. Are there code examples I can look for targeting cf 1.0? |
|
|
|
Subscribers H/PC Philosopher Posts: | 439 |
Location: | Austria | Status: | |
| If anyone could get a tutorial together, that would be amazing! *rubs hands* |
|
|
|
H/PC Vanguard Posts: | 3,656 |
Location: | Japan | Status: | |
| I forget if it was .NET CF 1.0, but I used to have this book. It's only about 10cents, so I think it's worth that money. It's for VB .NET though.
|
|
|
|
H/PC Elite Posts: | 660 |
Location: | Florida, US | Status: | |
| Can anyone confirm that the ported .net cf 1.0 for wince 2.11 works on the Jornada 72x (HPC2000) as well? |
|
|
|
H/PC Elite Posts: | 660 |
Location: | Florida, US | Status: | |
| Answering my own question, I can confirm that the wince2.11 .net cf 1.0 sp3 works on the Jornada. At least, the hello world application that comes with it launched fine. Now the next step is to write my own C# apps for this little machine. Cool! |
|
|
|
Global Moderator H/PC Oracle Posts: | 12,663 |
Location: | Southern California | Status: | |
| The original Microsoft version of .NET CF 1.0 SP3 (with native support for CE 3.0 and higher ) is here:
https://www.hpcfactor.com/downloads/details.asp?r={E0CAE8DE-527D-4CA...
Notwithstanding the description (which comes from Microsoft ), it has been known for some time to be compatible with H/PC 2000 devices. (I can attest to that myself. ) Easier to use since you don't have to add '.net' to the end of all the compatible apps. |
|
|
|
H/PC Elite Posts: | 660 |
Location: | Florida, US | Status: | |
| The microsoft official version is a bit confusing to install. It has millions of different cab files and I don't know which one is the right one for the Jornada. Here is the list of the possible candidates:
- netcf.all.wce4.ARMV4.cab
- netcf.all.wce4.ARMV4l.cab (what is this "l" about?)
- netcf.core.ppc3.ARM.cab
Should I use the wce4 or the ppc3 version? Also, it seems that the wce4 one includes "all", while the ppc version has only the core. Any thoughts? |
|
|
|
H/PC Elite Posts: | 660 |
Location: | Florida, US | Status: | |
| After a bit of testing, I can confirm that the netcf.core.ppc3.ARM.cab works perfectly on the HPC2000 (Jornada 720 ). The behavior of this official Microsoft port and the WinCE2.11 one seems absolutely identical.
As a proof of concept, I created a little Tic Tac Toe game. The development had a few curveballs due to the super limited compact framework. It lacks even a simple ImageButton tool, so I had to create a couple things from scratch for this game that I though I could get for granted.
Attached are some screenshots and the full code + executable. To run it, just extract the .zip file and copy the .exe over to your HPC. It should run on anything that has .net CF installed.
The nice thing about .net is that the same binary .exe file runs anywhere from my WinCE3.0 Jornada to my Windows 10 Laptop! This is quite craze, uh?
Thanks for the support guys. Hopefully I'll come out with some other nice little apps for my HPCs in the future, now that I've been successful through my "initiation"
edit: I was only able to upload the binary .exe, as the Visual Studio project file is bigger than 100kb. CAmie, is there a way for me to submit this to SCL?
Edited by ntware 2020-03-24 7:09 PM
(20200325145440.png) (20200325145504.png) (20200325145534.png) Attachments ---------------- 20200325145440.png (13KB - 0 downloads) 20200325145504.png (10KB - 0 downloads) 20200325145534.png (7KB - 0 downloads) TicTacToe.zip (25KB - 8 downloads) |
|
|
|
H/PC Vanguard Posts: | 3,656 |
Location: | Japan | Status: | |
| Nice work! I'll try to test it on my device later on today. |
|
|
|
Global Moderator H/PC Oracle Posts: | 12,663 |
Location: | Southern California | Status: | |
| Pretty nice graphics. |
|
|
|
H/PC Vanguard Posts: | 3,656 |
Location: | Japan | Status: | |
| Sorry, I was a little busy yesterday.
I used the .NET Compact Framework 1.0 for 2.11 on my Sigmarion 3, and I report your tic-tac-toe game working fine.
There seems to be a minor bug, at least in my environment where the last image doesn't show up.
Good work! I look forward for your future applications. (tic-tac-toe.jpg) Attachments ---------------- tic-tac-toe.jpg (138KB - 0 downloads) |
|
|
|
H/PC Elite Posts: | 660 |
Location: | Florida, US | Status: | |
| You have a Sigmarion III? I envy you Mine died several years ago when I was still in college. The culprit probably was my custom built battery that fried it.
About the last picture, it happens on my Jornada as well. I just left it like that because it isn’t bothering me, but I bet that just calling a .Refresh ( ) method right before invoking the message box should fix it. |
|
|
|
H/PC Vanguard Posts: | 3,656 |
Location: | Japan | Status: | |
| Yeah, I have a Sigmarion 3. It's really nice device to have on the go for writing stuff.
I hope to someday have Jornada 720, but it is not too cheap and kinda rare in Japan.
Thanks for the explanation about your app. |
|
|
|
Subscribers H/PC Sensei Posts: | 992 |
Location: | Northern California | Status: | |
| Hey, Cool! Your creation looks real good on the MobilePro 900...maybe I'll even win sometime (not yet tho ). Keep up the good work!
Yes...it even runs in Win 10! So, just what is this .Net thing??? Edited by joval 2020-03-26 5:55 AM
(tiktac.bmp) Attachments ---------------- tiktac.bmp (300KB - 0 downloads) |
|
|
|
Global Moderator H/PC Oracle Posts: | 12,663 |
Location: | Southern California | Status: | |
| Many .NET Compact Framework-based apps work on a PC with the .NET Framework installed because technically the .NET CF core is a subset of the .NET Framework. While the .NET CF runtime files are processor-specific to the host CE device, the apps themselves have x86 processor identifiers. Kinda nice because you can often check out someone else's .NET CF app on your PC to see how it looks, without having to have Visual Studio installed on the PC. Also, of course, the apps themselves usually work with the .NET CF on any processor, even if they only come with, say, ARM installer CABs. See here for more details:
https://www.hpcfactor.com/forums/forums/thread-view.asp?tid=12404&po... |
|
|