Internet Explorer 8 Beta - MSCEinf - ThemeGenCE - PROBLEM ! - Windows Mobile Development and Hacking General

Internet Explorer 8 Beta changes the DLL : mshtml.dll to version 8.0.6001.18241.
In my programs ThemeGenCE and MSCEInf I have written a "tuned" OpenDialog Box.
In this OpenDialog Box, I have put a background image in the ListView for cosmetic.
But I realize that the code I used for this, is dependant of Internet Explorer and especially of the DLL which comes with IE : mshtml.dll.
I use the LVM_SETBKIMAGE Message (MSDN) to do this and this line of code :
Code:
SendMessage(H2, LVM_SETBKIMAGE, 0, integer(@BKimg));
calls the mshtml.dll.
A user who installed Internet Explorer 8 Beta told me that with MSCEInf, when he clicks on the "Open Dialog Button for loading Cab or Tsk" the program hangs.
I sent to him a version without this background image in the ListView and all is OK !
As ThemeGenCE uses the same Open Dialog Box, the problem will be the same if Internet Explorer 8 Beta is installed.
Problem with ascendant compatiility in mshtml.dll ? or an error in my code ?
Help will be appreciated !
For now, to avoid this problem if IE 8 beta installed, do not use the button to load CAB or TSK (in both programs) and prefer 'Drag and Drop' from an Explorer Windows to the main form of the program.
If a developper can help me to understand why there is no compatibility with mshtml.dll which comes with IE 8 Beta...
If no, I will publish new versions of MSCEInf and ThemeGenCE without the cosmetic Listview !

Related

CAB file version issues

Hi everybody!
(hi doctor nick)
I'm having a few little issues with CAB files on my pda2k.
maybe this should be in the blue angel thread, but it's to do with application development, so i put it here. I also tried the forum search, with no results.
i'm wanting to use all my customised cab files that i made for my XDA2, and use them on my new device, the PDA2K.
all of the cabs work, and all of my applications run.
however, upon installing the cab, a message comes up on my pda and says "the program you have installed may not display properly because it was designed for a previous version of windows mobile software"
i've checked the version nifo in all my .inf files.
i've compared them to newer cab files that don't give me that message.
the inf files look fine.
is this a registry setting perhaps, that i could change?
like i said, all the apps work, i just want to stop it from giving me that warning.
does anyone have any ideas?
thanks !
The warning is just about what it says: You are trying to run older (ie now specifically designed for SE) software.
Noithing to worry about when thing work as supposed.
You can get rid of the message by setting the OS verion inse the CAB files higher (but you need ie. WinCE Cab Manager by OCP Software for that) .
i know there isn't anything to worry about. the apps work.
it's just that for the purpose of creating an SOE, i don't want customers to have to click "ok" everytime they reset their device, all apps must install without prompt from beginning to end.
I have winCE cab manager, and have set the version and build number higher in the inf file, yet i can't seem to get rid of the message.
any other ideas ?
you have to set the lower version number to th version of WinCE youre using now.
Set some 'very high' value to the higher version number
There is another thread on this somewhere . . .thats where I got this info from
yeah, tried that too
i sset my version details like this:
[CEDevice]
ProcessorType=0
UnsupportedPlatforms="JUPITER","HPC"
VersionMin=3.0
VersionMax=10.00
BuildMin=0
BuildMax=100000
still no good.
anyways, i'll keep searching for the related thread. i new there would be such a discussion in here, just a matter of finding it.
I think it was versionMin=4.21
http://forum.xda-developers.com/viewtopic.php?t=15761
M4io said:
I think it was versionMin=4.21
http://forum.xda-developers.com/viewtopic.php?t=15761
Click to expand...
Click to collapse
thanks M4io,
that's the link i was looking for
ok, there seems to be something wrong here.
either that, or i'm doing it wrong (highly unlikely :lol: )hahha.
anyway, i've tried all different versions, i've tried all different build's.nothing. still won't work.
so i downloaded the latest operator settings for my device.
that cab ran no problems, so i extracted the inf, then i copied all the version info from that one, and dumped it into the inf that i'm trying to package. ran the cab on the device, and i still get that error !!
how can that be?
there must be something else in my cab, that governs version conflicts.
anyone
Hi Twinair,
please try to set it as follows:
[CEDevice]
ProcessorType=0
UnsupportedPlatforms="JUPITER","HPC"
VersionMin=3.0
VersionMax=4.21
BuildMin=0
BuildMax=-536870912
buzz
I've tried with the above settings buzz, but it still doesn't work.
does the CEsetup.dll, or setup.dll have anything to do with version control perhaps ?
could be, that you should use your own setup.dll
I really don't know now... I've never made a cab which was not complaining about the older version... (
Looked for it also in internet, but found nothing...
But if you download the trial ver of OCP CabManager, you can unpack cabs for SE and take a look there... my trial period is expired now...
Maybe you can try to use setup.dll out of such cab...
buzz
damn, still not getting anywhere.
i've put in the correct version info, i've used a setup.dll file from a known working cab file, i have the latest full version of cab manager.
i'm fresh out of ideas
back to the drawing board.
if i figure it out, i'll let you know.
This is what MSDN says at
http://msdn.microsoft.com/library/d...dnwm2k3/html/screen_orientation_awareness.asp
Installation Warning Messages
When a legacy application is installed on a Windows Mobile-based Pocket PC capable of screen rotation, the warning message will appear
This dialog is to advise the user that the application they are about to use may not be aware of square screens or screen rotation, and may not display properly in landscape mode. This dialog will only appear if the VersionMin value (which specifies the lowest OS revision number your app supports) file is less than 4.21.
Since setting VersionMin to 4.21 will prevent your application from installing on older Windows Mobile-based Pocket PCs, it is recommend that you disable this warning message by setting the BuildMax value (which is typically unused) equal to the following values:
BuildMax values
0xA0000000 Application supports square screens (240x240 pixels).
0xC0000000 Application supports screen rotation.
0xE0000000 Application supports square screens and screen rotation.
These parameters can be changed by editing the [CEDevice] section of the INF file which cabwiz uses to generate your CAB file.
so
[CEDevice]
VersionMin=4.21
VersionMax=4.99
BuildMax=0xE0000000
Should do the trick[/b]
@Shikra
...perfect man, let me test it... )))
THANX
buzz
GREAT!!! it works!!!
THANX
buzz

Get Google Local (GLM) Satellite Images on Cingular 8125

EDIT 11/1/06 Satellite images don't work on the new version of IBM and GMM. However, using IBM version ibm-weme-wm50-arm-midp20_6.1.0.20060727-102926 and GMM 1.3.2 it works really well. Quick, no freezing like with the default midlet manager. The 20060727 version of the IBM manager adds the softkey buttons, so it's way better.
EDIT: 8/18/06, process works with IBM Software 6.1 and GMM version 1.3.0!
Been looking for a while and haven't seen a step by step, so here goes:
- Basically you need to install a second Midlet Manager onto you 8125. It's made by IBM and can be downloaded here.
http://www14.software.ibm.com/webap...04-06+13:40:42.143397R&S_TACT=104CBW71&S_CMP=
You'll have to sign up for an account. Then download this exe: CLDC 1.1/MIDP 2.0 for Windows Mobile 5.0/ARM
- Once you've installed the exe on your computer, browse to:
C:\Program Files\IBM\WEME\runtimes\61\wm50-arm-midp20\
There is a cab file there-> weme-wm50-arm-midp20_6.1.0.20060317-111429
- Extract the cab file and transfer its contents to your device. I suggest either: a) \Storage Card\Program Files\J9\MIDP20\ or b) \Program Files\J9\MIDP20\
- After copying the cab files contents to your device, run the "emulator" file in the bin folder.
- While it's running, use your web brower and navigate to www.google.com/glm. Pick Generic -> Advanced MIDP2. it should ask you where you want to save the ".jad" file. Save it to "My Device" NOT "My Documents" on your device. Name it something simple, like "glm".
- Go back to Midlet HQ and choose "install". Type in the file name like shown here http://www.winmobiletech.com/032006Midlets/J9InstallLocal.bmp.png
but replace "a" with glm if you named the file that.
- It will connect to the internet and install the Google GLM midlet. Tada!
To get sat images, you'll just have to run GLM through this new midlet manager, and not the one that comes with the device. no bigy. Enjoy.
thanks for the links... But could you clarify some things. What are you talking about replacing "a" replace what "a" where?
Also I get an error when I try to Save to My device from explorer. Don't know if that is normal or not. Could you explain this a little better?
Why do you need the second midlet manager? Java installs fine on my KJam
-Mc
For some reason, the default midlet manager of the wizard (8125) will not allow you to view the satellite images from GLM, hence this big ordeal.
hbkdinobot: Replace "a" with "x" just refers to renaming the file so it's easy to find it later. When you download the file it wants to name it something extremely large. I'm just suggesting you rename the file to something simple and easy to type in and remember.
I'm not sure why you're not able to save the file. keep trying!
McHale said:
Why do you need the second midlet manager? Java installs fine on my KJam
-Mc
Click to expand...
Click to collapse
Why not just use "Virtual Earth Mobile"? One install for SP and PPC and has Sat and Maps. http://www.viavirtualearth.com/vve/Gallery/VEMobile.ashx
juiceppc said:
Why not just use "Virtual Earth Mobile"? One install for SP and PPC and has Sat and Maps. http://www.viavirtualearth.com/vve/Gallery/VEMobile.ashx
Click to expand...
Click to collapse
The fact that it's neither very stable (had it lock up several times) nor as usable as GLM may have something to do with it. I tried VEM, hoping that it would be a good substitute on my Javaless T-Mobile USA MDA, but promptly uninstalled it after much frustration. Instead, I flashed the MDA with the new Imate ROM that has Java in it, and Google Local Mobile now runs on my MDA just fine. It may not display the satellite images with the Intent JVM, but it's perfectly stable and usability is much better.
I installed the VEM on juiceppc's recommendation, we'll see how it works out.
VEM seems to have very old image data compared to GLM...
try this http://www.mgmaps.com/
On my t-mobile MDA (with the 2.17 custom ROM) the IBM midlet manager doesn't seem to work with glm (asks me if permission to use airtime but then gives me a blank screen).
The midlet manager that comes with the custom ROM can run both glm and mgmaps, but neither show satellite imagery.
I'm having the same problem as Sorcerer and I am running the 2.17.7.2 WWE ROM..anyone know what the issue is?
Works perfectly on my 8125. Thanks Jizzay1!

\000 <or \0x00> in dll on latest WM5

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"
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.
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
Any way,i will keep on trying to use another tool. but i already used out what i know.
Serching again!
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'.
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
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.
thanks again, ya tried it.
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,.....
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.
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.
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 !
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!!
wandering that! but any way, i will finis it!
Thanks a lot! :wink:
31/8/2008
Two years after, I found this thread reaaaaallllyy USEFUL.
Thanks masters!
LEO

offline/local html code not working via bml

hi there, i have to work with a daily new created html code on my sd card. when i try to open a index.html file with opera oder internet explorer they added a "http" string and tried to look for the files in the "outside internet".
(error message opera h t t p ://0.0.0.0/my%20Documents not reachable... blabla)
any ideas to process/start the local html code via bookmarks?
btw: if i doubleclick the index.html over an editor it works, but i prefer the versions via the bookmarklists ;-)
thanks a lot
btw: i have to add the spaces via the spam function for newbies
rom version 1.43.111.2 (70315) GER from 10/28/09
What bookmark are you trying to open?
My start page is the original HTC. However, being on O2 I'v had to drop the files in a folder on the phones memory (storage card would also work)
So When I open Opera the address in the address bar reads...
file://localhost/Application%20Data/Opera/htc-opera.htm
Does your bookmark have a similar make up?
thanks for your reply
yes it looks similar...
when i updated a bookmark which should be "file://localhost..."
the sw added a "http:" before the string...
so in the bml is now
"http:file://localhost/..."
and that of course is at exxecution returned with an error ;-)
any ideas?
thanks in advance
additional question:
these is the bookmark list for internet-explorer and opera - is it possible to make these changes not over the sw but with an regular fileexplorer, the hard way?
thanks

Settings Menu Icon missing in start Menu of my HTC TyTn II

Hi all,
I have downloaded few tweaks & was trying those. I found that the phone is quite fast. But when I found that there is no SETTINGS menu available I was frustrated. I dunno exactly when it got deleted. How can I get it back to start menu? Can anyone let me know if any registry values to be entered to enabling it again? I believe that people here will help me out definitely. Is there any other way which from which i can restore the settings in start menu?
Thanks to you all in advance...
Waiting reply..... Please help me to get rid of this problem...
Mandar M. Oke.
Are we speaking about "cooking development" or simply you installed some tweaks in a downloaded custom rom?
Some minimum informations are required such:
_WM build
_which kind of tweaks did you make.
_a build log
Maybe u changed thé Hidesettings value to 1 instead of 0 if u use Manila ...
settings menu for >= WM5 <= WM 6.1
settings menu for >= WM5 <= WM 6.1
View Program Files; folderview.exe Unzip and put this file in you programs folder and you will be able to add it to htc home
View Settings; htcSettings.exe Unzip and put the file in you programs folder and you will be able to add it to htc home
WM6.5+ Settings Menu back via;
[APP] MySettings - easy access to ctrpnl items (old settings panel)
Have a nice day,
hi Friends,
Thanks for the help first of all... I have done few changes through SK Tools... n found this problem... I have WM6.1 build... The registry value is 0 only i have checked the same already... there is no htcsettings.exe available on my phone... also I have tried copying below given htcsettings.exe to program files, it didn't work.. i put it in windows folder too... but still unable to view settings in start menu....
Pls help
Though meant for WM6.5 it is also for previous phones
Though meant for WM6.5 it is also for previous phones with hidden system settings;
MySettings - easy access to control panel items (old settings panel)
http://forum.xda-developers.com/showthread.php?t=737689&highlight=mysettings
Did you check this link?
AND
My previous message contains both executables (both in their *.zip files);
folderview - http://forum.xda-developers.com/attachment.php?attachmentid=72770&d=1204003237
htcSettings - http://forum.xda-developers.com/attachment.php?attachmentid=102462&d=1217285749

Categories

Resources