Quote:
Originally Posted by Old_Man_Jenkins
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)