Hello,
I have a registry key, that i would like to distribut (for does who don't know how to modify registry)
I'm using Resco Registry Editor (with this one first there is now way to export a single KEY)
So what tool (if possible FREE ONE) can I use in order to creat a Key and then pack it into a CAB File for Pocket PC ?
Thank you
If you install embedded Visual C++ 4 and the Windows Mobile 2003 SDK (both free), you will get a remote registry editor that is able to export any part of registry.
There will also be samples, showing you how to build a cab file.
I guess this is the answer you didn't wanna hear, but I've found no software which can build a cab from a registry file yet.
Use WinCe Cab manager
http://www.ocpsoftware.com/
was playing with the registry editor and must of changed an option some days back... and now i have no intellipad option for INPUT!
anybody out there know where this line exist?
bump!
someone know the keys to enable or disable
the keyboards/ intellidailer xpad etc etc?
...
Destroying the registry so a given functionality dies, is not the same as enabling/disabling. I doubt these programs have simple on/off switches in the registry, so instead I suggest you reinstall them.
Set a browser such as the Resco Explorer to show files in ROM, then locate and execute the file loadvdisk.exe in the Windows folder. This will give you access to the Extended_ROM folder, located in root. From there you can reinstall what you want. Names of the files you will need are selfexplanatory, the rest you can find a description on here on forum, by using the search function.
Hi there,
I'm curious to know if anyone else has encountered this. I'm trying to delete a certain key from the registry (the WLan key). I am doing it by way of a C++ program (using the VORegistry classes, highly recommended). I am able to delete the Subkeys from the main WLan key, but when I try to delete the WLan key I am unable to. Iam able to manually delete this key via way of a registry editor, but it seems to be prevented by way of an exe? Is the deletion of some keys in some way blocked or prohibited?
Thanks for any insights.
Best Regards,
Dav
Hi dav!
If you can delete it via registry editor, it can't be locked. (after all reg. editor is just another exe).
I am not familiar with the VORegistry class, but have you tried simply using the win32 API?
There is a simple function RegDeleteKey. You should look up API's beginning with Reg on MSDN for complete description of this and other registry functions.
Good luck!
hi,
I need to create a shortcut to a file or folder using eVC++ 4.0, anybody knows how to do this??
Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanx alot
Mohammad
It's very easy:
Just create a file (with lnk extension)
and write to it:
10#"my_app.exe" -launch
this is what it means:
10 - length of the string after #. This value doesn't have to be accurate because it is usually ignored.
"my_app.exe" - path and name of the target of the shortcut.
-launch - command line parameters (if you have any)
You can also add: ?incon.exe,0 to take an icon from another exe / dll
Thaaaaaaaaaaaaaaank you very very much,
but I need a small thing, could you please provide me with a complex example so I can understand all features supported for shortcuts.
Thank you again,
Mohammad
Mo.
A number of us have posted about the structure of the .lnk file.
Search against my username for the word completeness.
V
now, I searched and got how the thing works, but I have a problem with coding this stuff:
When I attemp to write to shortcut file like this:
strData.Format(_T("%d#\"%s\""),strFilename.GetLength(), element.strPathname);
ShortcutFile.Write(strData,strData.GetLength()*2);
The file is not written correctly, what I get is the data I wrote in the file with a square charecter after each letter like this:
#□4□0□"□\□S□t□o□r□a□g□e□ □C□a□r□d□\□M□y□P□r□o□g□r□a□m□.□E□x□e□"□
so how can I solve this? and does it relate to unicode?
That's because you are trying to write it in UNICODE. This adds zero to every byte.
You must use fopen, fprintf, fclose functions or just create an array of char and use FileWrite to create an ASCII text file.
Thanks levenum,
but isn't windows ce file system unicode based? if so, how can I use ASCII format to write unicode filenames?
Thanks alot
Mohammad
#include <Oleauto.h>
......
char convertUshortToChar(unsigned short in)
{
char con='\0';
VarI1FromUI2(in,&con);
return con;
}
and add Oleaut32.lib to the list of object/library moduals in you project settings.
just call that for each unicode character that you want to be ascii and write the result to file.
Two things:
a) The file system may be UNICODE, but shortcuts are ASCII text. Also ASCII functions like fopen are supported.
b) There is a much easier way to convert UNICODE to ASCII:
mbstowcs(unicodeStrBuffer, asciiStrBuffer);
OK, I did it, but I think that there is a problem with Windows mobile, and it is a big problem.
Till now, I beleive that you cannot create a shortcut to a unicode-named file, I failed to do that, File explorer was not successful, Resco Explorer was not better.
Worse, they do not tell you that you cant create the shortcut, they create the shortcut for you and when you try to open it they conclude that the path was not found!!.
Very bad huh?
Mohammad
I thought that all file names are in unicode?? Use my shortcut creator in GSMbeam file open dialog to try and make a shortcut to a file named like you said. If that shortcut dose not work send me the file in question and I will try and see whats going on.
Ok, I downloaded your program and tried to create a shortcut for an arabic-named file, simply it did not work.
I know its not a bug in ur program, its a bug in Windows Mobile, it is mainly a bug in the design itself, how does Micro$oft design windows mobile to be unicode based while non-ascii characters are not supported in the shell links, its really a shame.
You can be sure that this will happen with asian characters along with Farsi, Hebrew, Arabic and all non-ascii characters.
Programmatically, what happens is as follows:
1. A program converts a filename from unicode to ASCII to save it in the .lnk file.
2. If the file name contains non-ASCII characters, those will be converted to NULL character.
3. When the shell tries to resolve the link target it does not recognise the filename because some characters are NULL.
Thats what I found out!!
Take this file name for example (Arabic): 2مرحبا.mp3
Try to solve the issue, and please inform us whatever happens with you..
Best Regards,
Mohammad
So the problem is how to get the shell to read unicode in lnk files. I re-wrote a lnk file in unicode to see if it would work but it would not. There are a lot of non english ppc users, surely this problem has come up before?
As an experiment I also made shortcut to a folder using utf-8, I think that contains arabic characters and also the ascii characters. After removing some garbage that my editor put at the front of the lnk file worked fine. Try making a shortcut in notepad and saving it as a utf-8 file then rename it on your device but make sure there is no extra characters.
أنا قادر على أكل الزجاج و هذا لا يؤلمني. -- I think those characters are arabic and they are copied of a utf-8 table site so if the shell can read a utf-8 lnk that contains english letters then maybe it can do the arabic too.
Actually, non English UNICODE characters are translated in to extended ASCII codes (128 - 255). When the system needs to translate these codes back to UNICODE it relies on code page definitions in the wince.nls file.
If your locale is properly set to Arabic and you have a valid nls installed (ether you have Arabic ROM or some sort of Arabic language support installed) you should be able to reference Arabic file names using ASCII links.
So, can I depend on string conversion functions we discussed before in this topic to convert characters according to my code page?
I have an arabic ROM installed on my Wizard, it is the i-mate rom on O2 device, so the arabizer doesnt work well, may be because the serial number of the O2 device.
Anyway, I should invistigate this issue on my friend's JamIn device, and we should come up with a workaround for this wiered problem.
Regards all,
Mohammad
OK,
I have tried creating a shortcut on my friend's arabic-enabled JamIn device, the shortcut refers to arabic-named file and it worked good.
levenum, you are right, it depends on the code page on each device, so your device will not be able to create a shortcut to an arabic named file.
Mohammad
After successfully accessing file system on magellan triton 1500 described on http://tritonforum.com/forum/viewtopic.php?f=6&t=1289 i install OziCe (pna version) on it and it's working fine, but there is big problem. In Triton system core is missing soft keyboard so there is no way to register Ozice. I researched a bit and after comparing files and registry on triton and my ipaq i found that on triton is missing file softkb.dll in windows directory and also there is no registry entry like in my ipaq HKLM\\Drivers\BuiltIn\sip\ for activation of softkeybord on system startup.
So my question is if i just copy softkb.dll to windows directory on my triton an if i add entry in registry like on ipaq would that be enough to activate soft keybord?
Also does anybody know how to make backup of triton registry. I try with TRE and regedit but option export registry on both programs is not working.
tenx...
After one day of researching:
I was able to copy softkb.dll to windows directory of my triton but was unable to add entry in registry for SIP. Because there is no keybord only way to enter something into registry is to create .reg file and import that via registry editor. I extract reg key from my ipaq and try with 3 different registry editors to import it into triton registry but without success...
Unfortunately i haven't got a clue what you are adressing to here, but maybe this suggestion might help you?
How about you install something like 'Soti PocketController', or any other tool that let's you control your device through a PC (or mac for that matter) to enable your PC-keyboard as text-input?
Hope this helps!! Good luck!