Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 16 Jan 2006 20:10:32 -0500,    group: microsoft.public.platformsdk.ui_shell        back       


Legacy Shell API   
Hi -

I see that this group does not have any messages, but I hope that
someone with some knowledge checks it from time to time.

I have Win95 OSR2 as well as Win2K SP4, running VS6 SP6, targeting Win98
SE and WinXP SP2.  (Ughh, I know.)

I need to write a very simple console application that updates (and
possibly creates) shortcuts on the Desktop.  I need to change things
like the Target, the Working Directory, the WindowPlacement, etc. 
Previously, we tended to just copy the .lnk files around, but I know
that it is dangerous to change things outside of the Shell's knowledge.

Reading through the documentation for the Shell, I see all these fancy
API's that make a lot of sense, but I am unable to compile any of the
examples.  SHGetFolderLocation(), for instance, does not exist on my
system.  SHGetDeskTopFolder() does, but either I'm using the returned
pointer incorrectly or I do not have a definition of the function calls
that I can make through that point, as the compiler complains, not
knowing anything about the parameters.

I think the root cause is that I'm running an older version of VC/C++,
VS6 SP6.

I see some discussion about the Shell() API, which seems to be supported
by Win95, but with few examples.

Unfortunately, I must use this platform combination, and not upgrade to
something more recent, or even install a newer SDK, as I am not in a
position to upgrade DLL's on the target machines.  They are mobile
devices, with very limited resources, typically Win98 SE, and I
generally deploy with an over-the-air push, so sending a new DLL is out
of the question.

Does anyone have insight or an example of how I should approach this
problem.  One of the things I want to do is maintain platform
independence between the Win98 SE and the WinXP SP2 platforms.  I am
certain that the correct DLL's exist on both of these platforms, but my
development system, AND ITS DOCUMENTATION, is lacking, I think.

Any assistance will be appreciated.  Please respond only to the
newsgroup - in fact, dues to SPAMming problems, my eMail address is
"invalid", though my first name is correct.  Thank you.

Alex S.
date: Mon, 16 Jan 2006 20:10:32 -0500   author:   Alex

Re: Legacy Shell API   
Hi Alex,

> I see that this group does not have any messages

I suggest you post your question to the following group :
microsoft.public.platformsdk.shell

You will have a better feedback...

Regards,

Jean-Marie
date: Sat, 21 Jan 2006 13:27:16 +0100   author:   Jean-Marie Pierrard

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us