PDA

View Full Version : \000 <or \0x00> in dll on latest WM5


Asukal
03-05-2006, 08:27 AM
PLS some boday help!

to edit dll / mui / exe in Universal latest ROM, such like V1.30,
they have the \000 at the end of each Strings Tables` sentence line.

also instmsgrresources.dll in old version ROM has that.

But once i edited or transrate those strings table, \000 were missed and couldnt inject this again into Strings Tables.

Used Resource Hacker.exe---PE Explore,,VS2005. all of them were same,
couldnt.

Do anyboday have a solituions?

exaples from Insantmessage dll

----------------------------------------------------------------------------------
STRINGTABLE
BEGIN
65 "%s may not reply because his or her status is set to Away.\000"
67 "%s can't reply because he or she is not in your Allow List.\000"
68 "Your block of %s is not in effect for this conversation.\000"
70 "%s may not reply because his or her status is set to On The Phone.\000"
71 "%s may not reply because his or her status is set to Be Right Back.\000"
72 "%s may not reply because his or her status is set to Away.\000"
73 "%s may not reply because his or her status is set to Out To Lunch.\000"

levenum
03-05-2006, 12:59 PM
Hello Asukal!

I noticed those too, but I usually use Platform Builder or one of the IDEs (Visual Studio or eVC) to edit the resources.

There the \000 are not shown for every string (at least not in coredll.dll and such) but they are preserved where present. Also I try to avoid deleting them in the first place, just type the translation in.
Worked fine so far.

I am still wondering why there are 3 zeros. In C\C++ string end is symbolized by the zero value character '\0', but why the extra '00'.

Any way, try a different resource editor, and good luck.
Hope this helps.

Asukal
03-05-2006, 01:54 PM
thanks for your replay.

On PE Explore<resource hunter also> discribed \0x00
VS5 discribed \000.

different something.


some of dll didnt have it.
but new dll i need edit has it :cry:

Any way,i will keep on trying to use another tool. but i already used out what i know.

Serching again!

levenum
03-05-2006, 02:08 PM
My suggestion is evaluation version of Platform Builder 5. It is free, but takes a long time to download (about 2.5 gigs for minimum installation).
But I know for a fact that it will produce usable MUIs after you edit the resources.

The 0x00 and 000 are the same thing, I am pretty sure they are just two different representations of the 0 character PE explorer choosing to display the values in hex. the 0x is just for esthetics.

Also see if the resulting MUIs work, even if you can't see the \000. It is possible that the character is still there and the editor just won't display it because it 'realized' it means 'end of string'.

Asukal
03-05-2006, 03:10 PM
thanks again

i have Plat form Builder also.
But ..

you mean Build OS with wrokable MUI with PB, then use those MUI to WM5 device?

or i can edit dll with PBuilder?

thanks again

levenum
03-05-2006, 04:59 PM
Just like you can open a DLL with Visual studio to see resources, same can be done with Platform builder, no need to build an image.
Just drag and drop.

Asukal
03-05-2006, 06:54 PM
thanks again, ya tried it. :D

1;edit with PB and did not lost \000 as you said.

but another problems

2;edeted dll <to mui> can not be signed.

3;Japanese Chalactors were not discrbed correctly on device.
but open it again with PB, it was correctly discribed.....

so i addapted those String Tables to another living empty dll,
then i can sign....

but the chlactor problems were not solved yet!

i will try to edit chinese mui to japanese.
it also 2 bytes chalactor,.....

levenum
03-05-2006, 08:37 PM
You may need to replace wince.nls and add a code page to it. I don't know what code pages are needed for Japanese or Chinese, but try this:

Create a new platform for pocket PC with PB and make sure to add Japanese and all possible code pages to the platform.
(sorry, I don't remember where exactly that menu is but it's there somewhere).

Do 'sysgen' on the project. Then search the project directory and all sub-directories. You will fined a proper wince.nls.

I think you will need 'usemynls.exe' you once told me about, to swhitch the original nls with this one.

Hope that helps.

Asukal
04-05-2006, 07:04 AM
thanks. but i meant it is not problem of OS code page.

i already made wince.nls and injected into ROM,
and worked fine. also all of dll and exe had changed japanese and wroked well.

@Asian Languages Supported QTEK 1.30 ROM with A2DP+Push Mail
http://forum.xda-developers.com/viewtopic.php?t=46644&highlight=

@80% T-chinese i-mate 13 ROM
http://forum.xda-developers.com/viewtopic.php?t=43606&highlight=

@Way to make your Language OS for Universla
http://forum.xda-developers.com/viewtopic.php?t=48093&highlight=


Only dll for MSN messenger was not finished.
also i want to use latest shellress.dll and tshres.dll on my localized one.
those two have some defferent resource with previouse versions.
<but with old resources, lates one also work exept Password Function>

just i meant was chalactors were broken if i transrate with PB.
i guess it should be the English word to say it. but i can know how to say.
seems to be some non-word chalactores.

But if Open with PB again, it can read JP.
i guess Chalactor code of PB is not correct for our Language??
<our language means not Alphabet chalactores>

i am using PB Japanese interface version.

Asukal
04-05-2006, 09:42 AM
now i got solution!

1;change Country ID from Engllish and Japanese for all resources in target dll which i want to transrate.

2:then open with PB and edit to japanese.

3;save it as mui

4;addapt all resources i need to living empty dll

5;then make it signature.

finaly japanese are correctry discibed without missing \000 ! :D

now i am procceeding to transrate Instant messenger dll!!

i dont know why japanese Instant messenger was not existing!

on SDK, Chinese, Korean and the other languages' instant messenger were eixinsing, but only Japanese OS and SDK also doesnt have it!! :cry:

wandering that! but any way, i will finis it!
Thanks a lot! :wink:

leomandelbrot
31-08-2008, 05:46 AM
Two years after, I found this thread reaaaaallllyy USEFUL.

Thanks masters!

LEO