|
Posted by Sinisha Djukic on August 31, 2007, 3:28 am
Please log in for more thread options
Hi everyone,
I have a following use case and hope that someone could give me a hint:
- I have a dynamic app environment on top of WM6 where applications can
come and go (not a native WM code)
- Once an app is installed, I create an app shortcut in the programs
menu with the name of that app, e.g. Tetris
- But the shortcut points to my special launcher exe, which carries out
the actual launch of the environment and then the app
- An app can contain an icon file in e.g. png/gif/ico format, which I
would like to use with the shortcut (well, after a potential format
conversion). The only way to do so (to my knowledge at least) is to
create a shortcut with an icon that is embedded either in the exe which
you are launching, or in a dll, which you can point to along with the exe.
Now, I tried packing the icon in a separate DLL dynamically that I point
to in the shortcut, but then I have a problem with WM security, since
although WM is supposed just to load the icon as a resource from that
DLL - it actually loads the DLL as well! An since the DLL is not signed
(because I create it on-the-fly on the device) I get a bunch on warnings
drowning the user experience. Ridiculous!
So... is anyone aware of a way to create shortcuts with icons not
residing in an executable file?
Thanks in advance!
Sinisha
|