View Single Post
  #528 (permalink)  
Old 04-19-2008, 12:52 PM
rstoyguy's Avatar
rstoyguy
SuperNoob
Offline
Location: Wichita, KS
 
Join Date: Jan 2008
Posts: 6,309
Reputation: 23264
rstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: OMJ's WM6.1 Custom Touch ROM with UC! v8 Updated 04-16-08

Quote:
Originally Posted by Old_Man_Jenkins View Post
I'm not sure what you're referring to....please elaborate....
In the sdconfig.txt file, the cabs that require you to use the HIDE: command, all have a setup.dll in the .cab file. This is what makes memmaid bring up their help screen, 1-calc bring up their popup, and touchpal3 bring up the option for vga/qvga and then their option to select the default input keyboard.

I've briefly looked at the dll's with a resourceexplorer (I've posted it here, just search. I used visual studio 5 actually) for the above and see those inside. But someone somewhere did a nice tutorial on the setup.dll for cabs and now quite a few are using it. You can copy files, setup registry entries, just about anything.

I can just delete the setup.dll out of 1-calc and memmaid without problems and install them just via the CAB: command, but touchpal3 does some file manipulation to select the vga mode/default input keyboard. I didn't see that touchpal selects these via registry entries, but have only briefly searched. I think it is more like s2u2 where it copies the appropriate file to be the wallpaper.gif. I really haven't dived into touchpal3 yet though. I really haven't begun my programming career in c++ either, so maybee someone else can chime in with the details on this setup.dll.

edit: from my brief research this morning, the dll in the cab file has two handles pre-intall, and two handles post-install. (handle = options for the installer to call your custom-routines)
__________________
If this post was helpfull, let me know by clicking Thanks!


Last edited by rstoyguy; 04-19-2008 at 01:00 PM.