programmers help me with these includes diskio.h & extfi - Windows Mobile Software Development

hi all..
i need a copy of these include diskio.h & extfile.h that come with windows ce platform builder or how to get them ?
thanx in advance.
best regards

you can download the wince 4.20 x86-platformbuilder from microsoft, for free. you can find it on msdn.microsoft.com as the wince4.2 emulator edition
these header files are almost the same for 3.x and 4.x
these headerfiles can be found in public\common\oak\inc

Related

Linux on Universal (Qtek9000)

Hi all,
I have seen a Linux directory on your ftp site and I have downloaded two files:
OPIE.ba-uni.tar.bz2 (seems a coplete Linux filesystem)
zi (data file undiscovered)
I have a good emulator that work fine with wm2003 and wm2005 roms, but works only with .bin and .nb0 files! Now, if possible, how I do to create
a .bin files from the files OPIE.ba-uni.tar.bz2 and zi?? More generally, how I can create .bin/rom files?
I'm a happy Linux(Slackware) user from 1995 and I use Linux everywhere is possible ...I hope which one day Linux become a reality in the pocket pc world!
Any help will be very appreciated!
Best Regards
p.s. excusme for my bad English!
cyberz said:
Hi all,
I have seen a Linux directory on your ftp site and I have downloaded two files:
OPIE.ba-uni.tar.bz2 (seems a coplete Linux filesystem)
zi (data file undiscovered)
I have a good emulator that work fine with wm2003 and wm2005 roms, but works only with .bin and .nb0 files! Now, if possible, how I do to create
a .bin files from the files OPIE.ba-uni.tar.bz2 and zi?? More generally, how I can create .bin/rom files?
I'm a happy Linux(Slackware) user from 1995 and I use Linux everywhere is possible ...I hope which one day Linux become a reality in the pocket pc world!
Any help will be very appreciated!
Best Regards
p.s. excusme for my bad English!
Click to expand...
Click to collapse
Cant you just boot it with Haret as rest of us do?
Follow this thread, we dont need 2 linux threads for the Universal:
http://forum.xda-developers.com/viewtopic.php?t=35972&start=0&postdays=0&postorder=asc&highlight=

[new release] Package Tool - (first part of the new Rom Kitchen)

Package Tool is an extension to Mamaich's imgfs tools
- Main function of this tool is to build packages for a new Rom Kitchen I'm working on
- Using this tool you can also extract the following information after creating a dump folder using viewimgfs.exe:
Core OS
Value: "Windows Mobile-based Pocket PC" or "Windows Mobile-based Smartphone"
Versions
Shows the version of the packages
SYS
This is the OS version
The example shows Crossbow, CE 5.2 Build:15341 AKU 0
NET
This is the .NET Compact Framework version
OEM
This is the version of the OEM packages
The example shows only one,
but I've also seen ROMs with different versions for each OEM package.
In that case there would be multiple OEM entries
Language
The LANGID and the language of the ROM
DPI
The DPI (dots per inch) of the resources
this also depends on the resolution of the device
Value: 96 or 128 or 131 or 192
Certificates
List of all certificates used for the packages.
The OS is signed my Microsoft and the OEM packages are using a certificate from the OEM
Missing Manifests
This is a list of all packages that are missing inside the dump folder.
It is normal that there are missing packages, because the packages from the boot section (XIP) are missing... don’t worry about them
Missing Files
This lists all missing files.
Someone edited the ROM or removed files from the dump folder!
Example:
Code:
[Selected Path]
C:\dump
[Core OS]
Windows Mobile-based Pocket PCs
[Versions]
SYS: 5.2.15341.0
OEM: 2.18.0.0
NET: 2.0.6129.0
[Language]
0409 - English (United States)
[DPI]
96
[Certificates]
CN=Microsoft Windows Mobile PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
CN=OEM Sign 2005
[Missing Manifests]
d92a4f0a-378a-4482-8fd3-bd127a05e4de.dsm
723fb954-d931-4348-b672-82a188e587b5.dsm
13cb07c1-20b6-567f-dfcc-39d58b95e374.dsm
This tool is very useful for analyzing an unknown ROM, especially to extract the OS version and it will be much more useful after the release of the new ROM Kitchen.
It is also possible to execute the tool using the command line
Usage: PKGTool.exe <path to the dumped ROM>
This would just create packages, without any output
Because of this usage, you can just drag & drop the dump folder onto the tool
About the package names
The names of the packages can be extracted from the dump folders for WM6, but WM5 contains GUIDs instead of names.
To provide the ease of WM6 "Package Names" for previous (i.e. WM5) ROMs, the tool collects all package names inside map.txt and replaces the GUIDs with the actual Package Names.
You must let the tool read a WM6 dump to collect the Package Names before it can replace WM5 GUIDs.
e.g.
- Building packages from a WM5 dump creates: 1bc57b2f-c0f3-46c6-8c2a-257952317eac
- Building packages from a WM6 dump creates: OEM_Lang_0409
- Building packages from a WM5 after it was used for a WM6 ROM also creates: OEM_Lang_0409
Extending the map.txt can be disabled by: Menu - Tools - Expand Map
Download: View attachment package_tool_v1.01.zip
ROM dump converted to packages...
It is exactly the tool I'm looking for.
But... doeas it require any additional dll's? VB runtime or whatever? I have had exactly the same problem with your XIPPort. There are two version published here. One works fine (exe file 2007-01-21), second one (published with sources) produces:
message translated from polish into english:
Application can not be executed, because configuration is not valid. Problem can be resolved reinstalling application.
I've got the same message running PKGTool.exe
Sorry...yes, someone else told me the same...
I think it is cos I installed:
Microsoft Visual Studio 2005 Professional Edition - DEU Service Pack 1 (KB926606)
I will try to get that working... just give me some time
bepe said:
Sorry...yes, someone else told me the same...
I think it is cos I installed:
Microsoft Visual Studio 2005 Professional Edition - DEU Service Pack 1 (KB926606)
Click to expand...
Click to collapse
I have VS too.
Please wait - I'm downloading ENG SP1 now. I'll check if it is the reason.
I will try to get that working... just give me some time
Click to expand...
Click to collapse
Sure ))
yes, it is the reason... see:
http://community.macrovision.com/showthread.php?p=375127
bepe said:
yes, it is the reason... see:
http://community.macrovision.com/showthread.php?p=375127
Click to expand...
Click to collapse
ok. you are right
Ok, I completely removed visual studio and installed it without SP1...
After that I recreated the tool, it should be working now
I've had no problem running the tool (then again i'm running win2k ) but what i'd like to know for now is how to get the OS version/build values
tx
ok, sorry I forgot... the information about the OS might only exists in newer roms
did you have anything after
[Versions]
...
?
bepe said:
ok, sorry I forgot... the information about the OS only exists in newer roms
did you have anything after
[Versions]
...
?
Click to expand...
Click to collapse
The program worked flawlessly m8; I'm asking this to know how to get it myself , that is if you don't mind sharing it
the OS version is written into the dsm files...
open this dsm file using a hex editor:
d0b41563-b345-4444-aa15-986e7c7fff99.dsm
after 0x003C you will see something like:
05 00 01 00 D0 07 FF 39
that’s the OS version and build
Yes. It works after installing VS SP1.
Many thanks.
A Great And Very Useful Tool Bepe.
I Cannot Wait To See Your Finished Kitchen.
Cheers
Congrats Bepe!
Package Tool rules
Very nice
Thanks Bepe
I used to coock by ur previous kitchen
It was easy (even 4 beginer like me) and worked very nice
I hope this one will be more usable
1-Would u pls give us the steps?
2-Do we need to have WM6?
3- Is it for all devices, I have Himalaya?
4- Can we use it now or wait for the finished kitchen?
Sorry for to much ques.
Regards
v1.01 - Fixed a small bug in map handling
@The_hesham:
this is only the first part of the new kitchen…
I only released the tool cos it can also be used to analyze roms
to use this for a kitchen you have to wait for the new version
bepe said:
@The_hesham:
this is only the first part of the new kitchen…
I only released the tool cos it can also be used to analyze roms
to use this for a kitchen you have to wait for the new version
Click to expand...
Click to collapse
Bepe
As I understand I should have ROM already have the following
1- All *.rgu & dsm files are not deleted during cooking. But we delete *.rgu file in order to save space
2- We alraedy have ROM built by ur way mention some time ago (and I succed to cook with it)
Or I misunderstand somthing

to write program for S300+ runing with WM5

hello !
I'm a french man, my english is quite poor!
I'd like to known if there is a FREE SDK to develop program for WM6 ?
I have only one program to develop and I don't want to buy a SDK like visual studio which is expensive !!
Thank for any answer
PhS
sdk is not the same as ide/compiler/toolchain. wm sdks are free while no version of vs usable with these sdk are free except evc4, which unfortunately can only use ppc2003 sdk or below.
there is a registry hack that allows you to install wm5 sdk on evc4 though. google is your friend. but then evc4 support c only - no managed code.
if you really want to try a full fledge env, don't even bother those express versions. download vs evaluation version inctead.

built ffmpeg dlls for windows mobile are available

In the past, I get many helps from here.
I met lots of troubles while building ffmpeg for winCE. But I'm lucky to build them out finaly. I know some ones prefer to get the dlls directly rather than build it by themselves. So I upload them here: http://www.mediafire.com/?jc4w8mex9mw
Just feel free to get them if you need it.
ok, it may sound a silly question, but what app is suposed to take benefit of that ?
RTSP
Great job! Thanks
Did you build it with rtsp support? I can 't manage opening an rtsp stream: "File not found error"
rtsp.h files are present
In your begin method, in the name you preceed sample.avi with some strange char's what are they for?
Kind regards
Wim
I have also been trying to compile this for the ARM4 platform, would it be possible for you to build for this platform (ARM4i is only for WM5/6 and Im also developing for WM2003/CE.NET 4.2)
Thanks
sorry, rstp seems not supported defaultly.
the strange chars is diretory name. You could change them to "\\Storage Card\\sample.avi" or any others you like.
wimpos said:
Great job! Thanks
Did you build it with rtsp support? I can 't manage opening an rtsp stream: "File not found error"
rtsp.h files are present
In your begin method, in the name you preceed sample.avi with some strange char's what are they for?
Kind regards
Wim
Click to expand...
Click to collapse
I haven't tried it in WM2003. Maybe it works too. please try it and tell me result.
coolsva said:
I have also been trying to compile this for the ARM4 platform, would it be possible for you to build for this platform (ARM4i is only for WM5/6 and Im also developing for WM2003/CE.NET 4.2)
Thanks
Click to expand...
Click to collapse
I am trying to use your bin ffmpeg on windows mobile 6.
when I try to call :
avcodec_find_encoder((enum CodecID)CODEC_ID_FLV1);
it's fail
those my init call:
avcodec_init();
avcodec_register_all();
av_register_all();
av_log_set_callback( ffmpeg_avcodec_log );
any idea ?
wright_hz said:
In the past, I get many helps from here.
I met lots of troubles while building ffmpeg for winCE. But I'm lucky to build them out finaly. I know some ones prefer to get the dlls directly rather than build it by themselves. So I upload them here: http://www.mediafire.com/?jc4w8mex9mw
Just feel free to get them if you need it.
Click to expand...
Click to collapse
Hi,
Been trying to use your FFMPEG.DLL but I need the network capability of FFMPEG, could you recompile with --disable-network removed from your configure?
I have built FFMPEG myself but I keep getting a green screen on any video output, sound works okay. Did you get this? If I switch to your DLL I it works but I can only open local files.
To get libavformat to build I had to change a line in configure (amongst other things) to:
network_extralibs="-lws2"
from:
network_extralibs="-lws2_32"
Thanks!
Hy,
can anybody build ffmpeg with support stream video files from network?
Thanks a lot.
Greatz
mccoffein
Hy,
is anybody out there?
I think the original Youtube app uses ffmpeg - just go to youtube from your mobile, download the cab, install and you'll find ffmpeg.dll in /program files/youtube so you can try use this one...
Hy,
thanks for your answer. I tried this. But ffplay don't work with this dll well.
If have linked in the project below but i dosent work.
I tried to link avcodec, avutil and avformat ... But there is no coming out.
Since you know that it works now i will update this thread.
I have done it. You can see it here: http://forum.xda-developers.com/showthread.php?p=3819157#post3819157
ffmpeg WinCE is now Open Source!
For more informations look at our homepage http://www.ffmpeg-wince.org ...
See you!
Error :"Not a valid Pocket PC application"
hi
I have download the file from here: http://www.mediafire.com/?jc4w8mex9mw extract it and copy the bin, ffmpeg and Sdl directory to my project for wm 6.0
and successfully build the cab file. My cab file has exe and ffmpeg.dll, SDL.dll, swscale.dll files. After installation to my htc device 6.1 device whenever I try to run
file it gives me error message "Not a valid Pocket PC application".
Do have any idea why it is giving such error message.
Thank you.
Hello, I have also downloaded the files and am building testmain.exe using visual studio 2005. The exe is building and is running within the emulator. However on a windows mobile 6.1 classic PDA I am getting the error "testmain" is not a valid Pocket PC application.
Could anyone help me discover what the problem is?
I ran dumpbin /headers on the DLLs and the exe and saw that the header values are different and am wondering could this be causing the problems I have?
Dump of file ffmpeg.dll
----------------------
FILE HEADER VALUES
1C0 machine (ARM)
4.00 operating system version
1.00 image version
3.00 subsystem version
0 Win32 version
Dump of file SDL.dll
----------------------
FILE HEADER VALUES
1C2 machine (Thumb)
4.00 operating system version
0.00 image version
4.10 subsystem version
0 Win32 version
Dump of file swscale.dll
----------------------
FILE HEADER VALUES
1C0 machine (ARM)
4.00 operating system version
1.00 image version
3.00 subsystem version
0 Win32 version
Dump of file testmain.exe
----------------------
FILE HEADER VALUES
1C2 machine (Thumb)
5.01 operating system version
0.00 image version
5.01 subsystem version
0 Win32 version
Thanks,
Menelaos

Where to download Windows CE .net 4.2?

I need to write an app to run on Windows CE .net 4.2. I would like to get platform builder for Windows CE .net 4.2, but it doesn't seem to be available on the microsoft site. Can someone help me find it?
It is not the .net that was 4.2, it was the version of CE. This appeared as WM 2003 and WM 2003 SE. The .NET compact framework for the machines was 1.0 or 1.1.
To test the app in an emulator use the standalone emulator. Now at version 3.0
http://www.microsoft.com/downloads/...AF-12E3-4B2F-A394-356E2C2FB114&displaylang=en
The WM 2003 SE images for it are here
http://www.microsoft.com/downloads/...b5-f2a2-47d7-a41d-825fd68ebb6c&displaylang=en
To write .net 1.0 and 1.1 WM apps you will need VS2003 PRO.
VS 2005 and VS 2008 can be forced to create .net 1.0/1.1 executable images but it's a total pain in the ...., you have to hack the build files to get it to work.
For C++ Win32, AFC or MFC you can use the free version of EVC 4.0
http://www.microsoft.com/downloads/...3D-50D1-41B2-A107-FA75AE960856&displaylang=en
Dont forget to apply SP4 to it after install. (Same page, use the link at the bottom)
Thank you very much for the help!
How about modifying the BSP or kernel, which version of tool would you use for that?
For that you will require the CE 4.2 Platform Builder package. Microsoft pull superceded versions off their site, the current version is for CE 6.0
The evaluation version works fully for six months then you have to licence it.
Search in Google for "CE Platform Builder 4.2". Some non Microsoft sites may have a copy of it, but some of these sites could also be of a rather dubious nature. i.e warez peer-to peer file sharing etc.
The documentation for it can be found here
http://msdn.microsoft.com/en-us/library/bb851528(v=MSDN.10).aspx
actually that's what the guy asked for in the first post

Categories

Resources