Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Hardware > Legacy Devices

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-25-2004, 06:24 PM
Sage
nosmohtac's Avatar
Join Date: Nov 2006
Posts: 702
Default getting PPC programs to work on HPC .ARM

I have a Jornada 720, and I've tried to install many of my PPC programs on it with no success. I've read that minor modifications can be made to the program to get it to work, and was wondering if anyone here could direct me to information on this.
 
Reply With Quote
  #2 (permalink)  
Old 07-25-2004, 06:36 PM
Pontificator
Join Date: Nov 2003
Posts: 1,208
Send a message via MSN to Kowalski

i dont have a jornado 720 but AFAIK there is no general rule to make ppc programs run on HPCs. all the programs has different modifications to work.
 
Reply With Quote
  #3 (permalink)  
Old 07-26-2004, 01:15 AM
Theorist
Join Date: Jul 2003
Posts: 287

Actually, I think there is a way to do it. There are some dummy dll's around that should do the trick. Basically, it tricks the software into thinking that the device is a PPC.

I haven't tried it myself but have read a few threads where users have done this.

As I understand it, if a program relies on MFC extesively it will not work but otherwise has a good chance.

If I can ever find time I am going to give this another try. If you want to try it do a google search that includes "dummy dll's".
__________________
Darren Humphries
www.twitter.com/DarrenHumphries
www.SmartMobileAsset.com
 
Reply With Quote
  #4 (permalink)  
Old 07-26-2004, 01:17 AM
Theorist
Join Date: Jul 2003
Posts: 287

Oops! Just noticed that felixdd posted about this in another thread...

http://www.pocketpcthoughts.com/foru...ic.php?t=29734

8)
__________________
Darren Humphries
www.twitter.com/DarrenHumphries
www.SmartMobileAsset.com
 
Reply With Quote
  #5 (permalink)  
Old 07-26-2004, 12:05 PM
Philosopher
felixdd's Avatar
Join Date: Mar 2004
Posts: 555
Send a message via ICQ to felixdd Send a message via AIM to felixdd Send a message via MSN to felixdd Send a message via Yahoo to felixdd

I'll try to find the DLLs for you guys (not sure if I have the ARM ones...I think I do). When I find them I'll post here, but PM me for them as my webspace will probably go way over bandwidth limit if I post a link here :lol:

Those with J720's should also ask Henri Spagnolo over at http://www.yetanotherhomepage.com/j7xx/j7xx.html...or post at http://www.voy.com/24979/.

The hardest part to the whole modification process is finding the damn DLLs. Once that's done then the rest is cake.
 
Reply With Quote
  #6 (permalink)  
Old 07-27-2004, 01:26 PM
Philosopher
felixdd's Avatar
Join Date: Mar 2004
Posts: 555
Send a message via ICQ to felixdd Send a message via AIM to felixdd Send a message via MSN to felixdd Send a message via Yahoo to felixdd

I've found a source where you can get fake DLLs for the ARM device running HPC 2000 (aka CE 3.0)

This site contains a link to the file on another website. If you have trouble I also have the file hosted somewhere, but PM me and I'll give you the link (lest my server gets majorly swamped)

The files included are:
mfcce301.dll: works for all ARM devices; patches mfcce300.dll.
aygshell.dll: works for all ARM devices; patches ceshell.dll.
doclist.dll: works for all ARM devices.
gx.dll: works only for the Jornada 720.

In a very rare instance, you also have to replace cellcore.dll with serial.dll -- all of these "replacings" are done in the hex editor editing the executable of the PPC program you wish to run on the PPC.

You might want to visit that site to read up on how to patch the executable. Another good resource is Goodhyun.

If you run into trouble, post here or in the handheld addicts forum. I check here more often...the latter forum is kinda dead.... :roll:


And if you have an Intermec, you can find the above 4 files from my hosted webspace -- these are slightly different than the above 4 files as aygshell and mfcce301 are slightly revised so as to allow you to run an even broader range of programs without having problems rendering the PPC-intended menues. With it you can run Netfront, among other things.

If you want to use both versions of the DLLs, you should not patch. Instead, for every program that requires one of these DLLs, choose the version (old or cemenu) you want to use it with and place it in the directory where the executable is located. This way you can run both versions of the dlls at the same time (though the benefits are negligible).

And for intermec users: you might want to get ScreenOff. It's an executable that I tweaked and is already found in your Intermecs. The original program turns off your backlight and starts Windows Media Player. My version turns off the backlight only -- so it's good to use with GSPlayer or any other program where you want the device on and the backlight off.
 
Reply With Quote
  #7 (permalink)  
Old 07-27-2004, 10:31 PM
Sage
nosmohtac's Avatar
Join Date: Nov 2006
Posts: 702

Thanx alot felixdd,

Awesome information.

Just want to check with you though; When I get these dll's, I install them in my HPC in the "Windows" folder, then I have to edit the program's .exe file with a hex editor?

I was also wondering if you knew of a half decent hex editor that was available for free? I've seen one before, but haven't been able to find it recently.
 
Reply With Quote
  #8 (permalink)  
Old 07-28-2004, 12:36 AM
Philosopher
felixdd's Avatar
Join Date: Mar 2004
Posts: 555
Send a message via ICQ to felixdd Send a message via AIM to felixdd Send a message via MSN to felixdd Send a message via Yahoo to felixdd

Quote:
Originally Posted by nosmohtac
Thanx alot felixdd,

Awesome information.

Just want to check with you though; When I get these dll's, I install them in my HPC in the "Windows" folder, then I have to edit the program's .exe file with a hex editor?
That's one approach. And since your HPC already has mfcce300.dll installed (though a different version than in the files you are downloading), in order to have the downloaded versions in your device without conflict, you must first rename them. I think in the zip files they are already mfcce301.dll. Then when you hex-edit the executable, search for all instances (for example) of mfcce300.dll, and change it to mfcce301.dll.

The reason is that these programs are meant to be run on the PPC, which have their own mfcce300.dll. If the programs are loaded onto an HPC, they will not play well with the HPC version of said file. So someone tried to use the mfcce300.dll from a PPC and lo and behold, it worked. To improve on the process, that's where the renaming comes in.

The other approach is to store the dlls in the same directory as the executable. No renaming is necessary -- as long as the dll-call within the executable contains the same name as the dll that is in its local directory, you are good. The advantage of this method is that you may have to do less hex editing (which isn't hard anyways), but at the cost of memory. For Intermec users, this has an added benefit of being able to use both versions of the DLLs simultaneously. Not an issue to me though, as I don't use netfront.

Quote:
Originally Posted by nosmohtac
I was also wondering if you knew of a half decent hex editor that was available for free? I've seen one before, but haven't been able to find it recently.
I've heard good things about UltraEdit. Personally I use XVI32 (because it's free, and that's always a good thing :mrgreen: )
 
Reply With Quote
  #9 (permalink)  
Old 07-28-2004, 03:57 AM
Sage
nosmohtac's Avatar
Join Date: Nov 2006
Posts: 702

Thanks, that's what I thought.

I've tried to open several ppc cab files with xviHED, and have done a search for mfcce300.dll, with no luck, and when I try to install them with AS, the error pops up saying that the program is not for that type of device.
 
Reply With Quote
  #10 (permalink)  
Old 07-28-2004, 12:06 PM
Philosopher
felixdd's Avatar
Join Date: Mar 2004
Posts: 555
Send a message via ICQ to felixdd Send a message via AIM to felixdd Send a message via MSN to felixdd Send a message via Yahoo to felixdd

Quote:
Originally Posted by nosmohtac
Thanks, that's what I thought.

I've tried to open several ppc cab files with xviHED, and have done a search for mfcce300.dll, with no luck, and when I try to install them with AS, the error pops up saying that the program is not for that type of device.
Run the setup program on your desktop, then go to c:\program files:\microsoft activesync\

There you will find (hopefully) a new directory for the program you want to install. Go to the directory. In it you will find the cab file that AS was suppose to transfer to the device. AS won't do it, as it isn't the device it expected to be. But you will

Drag the cab file into the Jornada using AS file transfer. Then execute it from the Jornada (at this point if you want to back up the cab file, remember to set it to read-only first -- otherwise it gets wiped upon unpackaging). After choosing where you want to install it (HA! You can't do this on a PPC), go to the directory, grab the deposited executable, and drag it back to your desktop for hex editing using AS.

You aren't suppose to hex edit the cab file, but rather the exe that the cab file unpacks within your device.

Best of luck.
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forums.thoughtsmedia.com/f408/getting-ppc-programs-work-hpc-arm-61698.html
Posted By For Type Date
My new Intermec 6651 PDAs and Handhelds Question This thread Refback 12-28-2010 12:49 PM
My new Intermec 6651 - Page 2 This thread Refback 06-14-2010 08:12 AM
My new Intermec 6651 - Page 2 - Brighthand.com Smartphone and PDA Discussion Forums This thread Refback 01-12-2009 01:42 AM
My new Intermec 6651 - Page 2 - Brighthand.com Smartphone and PDA Discussion Forums This thread Refback 01-01-2009 03:59 PM


All times are GMT +1. The time now is 08:09 AM.



Search Engine Friendly URLs by vBSEO 3.6.0