Click here to Skip to main content
15,912,021 members
Home / Discussions / COM
   

COM

 
GeneralProblem adding previously deleted method in ATL COM Pin
Dave Moran27-Feb-01 5:22
Dave Moran27-Feb-01 5:22 
GeneralRe: Problem adding previously deleted method in ATL COM Pin
Julien28-Feb-01 16:20
Julien28-Feb-01 16:20 
GeneralRe: Problem adding previously deleted method in ATL COM Pin
Dave Moran1-Mar-01 1:26
Dave Moran1-Mar-01 1:26 
GeneralActiveX and events Pin
Ivan Polak27-Feb-01 3:52
Ivan Polak27-Feb-01 3:52 
GeneralRe: ActiveX and events Pin
Julien28-Feb-01 16:34
Julien28-Feb-01 16:34 
GeneralActiveX Pin
Ivan Polak27-Feb-01 3:43
Ivan Polak27-Feb-01 3:43 
GeneralVoice Recorder control Pin
Heidyen25-Feb-01 18:48
Heidyen25-Feb-01 18:48 
GeneralIShellFolder and EnumObjects,CreateView... Pin
aes24-Feb-01 10:23
aes24-Feb-01 10:23 
Hi, I'm not sure that this is the right forum but I coldn't find any "Shell" forum. I'm sorry if this is the wrong forum (please correct me if so).

I'm currently developing a shell extension that resides on desktop. It uses a database for dynamic subfolders display. Each subfolder could possibly have different types of mount points (e.g. Compound file, a directory or database "fs"...).

ShExt
|
A Folder (DB Retrieved "root" folder)
....|
Compound "fs"
Next Folder (DB Retrieved "root" folder)
....|
Database "fs"
etc...

Many Thanx in Advance
Mario

Problems/Questions:
P1) Each "root" folder needs a login: When a new "root" folder is about to expand i use SHChangeNotify with SHCNE_MEDIAREMOVED (since i've marked the "root" folders as removable) to compress the possibly old expanded folder is being compressed. The problem is that explorer is wery slow, it always enumerates the new folder before compressing the old one and makes it really messy.

Q1) Is it some way of making explorer to compress it first and then use the enumerator? (I don't want to do any "hacking" in the tree pane...

P2) Since my implementation internally just uses UNICODE and I don't have a Win95 box: I don't like to have separate distributions of my program at least internally the same, except for the UI stuff...

Q2) Does Win95 query for e.g. IExtractIconW or does it just uses IExtractIcon ?

P3) Not really a problem, but laziness (or rather less code to maintance)?

Q3) Is there any "generic" helper object that I could use for the view pane if no custom is needed (that takes IShellFolder* param and uses the enumerator, IExtractIcon etc... and populates it...)?

P3) Well... not a problem, rather a general question?

Q4) Why do explorer (on my Win200 machine) seems so "sloppy" in terms of instantiating uneccesary many times?
Dump (I've written the component in ATL Wink | ;-) :
FinalConstruct
Initialize
GetClassID
FinalConstruct
Initialize
EnumObjects
FinalConstruct
Next, GetDisplayNameOf
Next, GetDisplayNameOf
Next, GetDisplayNameOf
Next
FinalRelease
FinalRelease
FinalRelease
// Ok, until here (seems to use threads to do above stuff)

// Here the strange stuff begins... It seems, for me anyway,
// wase of computational power doing that many
// instantiation of the object?
// (Lucky me that I don't do that much in the Initialization process (FinalConstruct,
// Initialize), merely store the pidl for futher use,
// but one might have to do some more processing one day in the Initialization routine)

FinalConstruct
Initialize
GetDisplayNameOf
GetUIObjectOf
FinalRelease

FinalConstruct
Initialize
GetDisplayNameOf
GetUIObjectOf
FinalRelease

FinalConstruct
Initialize
GetDisplayNameOf
GetUIObjectOf
...
GeneralATL ActiveX Control - Window Creation Pin
23-Feb-01 3:36
suss23-Feb-01 3:36 
GeneralBuilding MFC COM Connectable Objects Pin
21-Feb-01 2:21
suss21-Feb-01 2:21 
GeneralCan't use a handle to object Pin
18-Feb-01 8:49
suss18-Feb-01 8:49 
GeneralRe: Can't use a handle to object Pin
Julien28-Feb-01 16:55
Julien28-Feb-01 16:55 
GeneralMicrosoft MPEG4 Video Compressor Pin
17-Feb-01 10:39
suss17-Feb-01 10:39 
QuestionHow to get the IDispatch* from a specified OLE server instance? Pin
16-Feb-01 14:26
suss16-Feb-01 14:26 
GeneralCOM+ Pin
Alpesh Makwana15-Feb-01 23:31
Alpesh Makwana15-Feb-01 23:31 
Generalcan't see combobox's strings in (ATL) at Run time Pin
Stephane Koomson15-Feb-01 11:35
Stephane Koomson15-Feb-01 11:35 
Generalvbcomponent in Javascript Pin
Praveen15-Feb-01 10:47
Praveen15-Feb-01 10:47 
GeneralMaking part of an MFC ActiveX control transparent Pin
15-Feb-01 4:08
suss15-Feb-01 4:08 
Generaldcomcnfg Pin
13-Feb-01 20:31
suss13-Feb-01 20:31 
GeneralContextMenu on rightclick of network neighborhood computer Pin
13-Feb-01 16:13
suss13-Feb-01 16:13 
GeneralMMC snap-in Pin
13-Feb-01 1:45
suss13-Feb-01 1:45 
GeneralRe: MMC snap-in Pin
15-Feb-01 10:16
suss15-Feb-01 10:16 
GeneralRe: MMC snap-in Pin
5-Mar-01 21:27
suss5-Mar-01 21:27 
GeneralRe: MMC snap-in Pin
5-Mar-01 20:54
suss5-Mar-01 20:54 
GeneralProblems registering DLL Pin
12-Feb-01 7:23
suss12-Feb-01 7:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.