Click here to get back home

Creating shortcuts with icons NOT residing in a DLL/EXE?

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Creating shortcuts with icons NOT residing in a DLL/EXE? Sinisha Djukic 08-31-2007
Get Chitika Premium
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

Similar ThreadsPosted
REWARD: How to delete "system" shortcuts? June 1, 2005, 1:38 pm
How to bypass shortcuts in Windows\Startup? July 20, 2006, 9:08 pm
WM5 - Title bar Icons December 23, 2005, 8:20 am
Start Menu Shortcuts on install with Windows Mobile 5 March 16, 2006, 6:25 pm
Writing to the taskbar (not icons) September 3, 2007, 4:38 pm
Animated icons on Home screen April 27, 2006, 4:32 pm
Icons not Deleted after Removal of Software? August 30, 2007, 11:05 am
How to display message icons on messaging list view ? October 24, 2005, 1:55 am
display the icons in an owner draw list view control September 1, 2005, 5:10 am
scroll wheel fails to go through recently used apps icons on the home screen December 16, 2006, 9:17 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap