Click here to Skip to main content
15,891,657 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to send messages from pc to pc in LAN without turning 'Messenger' service on? Pin
Nilesh Hamane14-Dec-09 0:40
Nilesh Hamane14-Dec-09 0:40 
GeneralRe: How to send messages from pc to pc in LAN without turning 'Messenger' service on? Pin
Richard MacCutchan14-Dec-09 4:52
mveRichard MacCutchan14-Dec-09 4:52 
AnswerRe: How to send messages from pc to pc in LAN without turning 'Messenger' service on? Pin
elsetryfly25-Jan-10 4:10
elsetryfly25-Jan-10 4:10 
Questionshell COM problems with Vista Pin
T800G12-Dec-09 9:59
T800G12-Dec-09 9:59 
AnswerRe: shell COM problems with Vista Pin
KarstenK14-Dec-09 22:39
mveKarstenK14-Dec-09 22:39 
GeneralRe: shell COM problems with Vista Pin
T800G15-Dec-09 9:59
T800G15-Dec-09 9:59 
GeneralRe: shell COM problems with Vista Pin
KarstenK15-Dec-09 20:28
mveKarstenK15-Dec-09 20:28 
GeneralRe: shell COM problems with Vista Pin
T800G20-Dec-09 11:02
T800G20-Dec-09 11:02 
In the end I gave up and adapted IThumbnailProvider sample from WinSDK.
http://www.autohotkey.net/~T800/TEMP/CBXShell%204.0.0.2.rar
I would say that M$ is internally using something else beside ATL for com and selling us their high-price pro-bloatware, because that sample uses previously undocumented, but yet availabe even in win2000, by-ordinal exported functions from Shlwapi.dll.
Hmmm... this sample will come in handy Cool | :cool: , you can adapt it to your needs in 10 mins, instead losing time with ATL wizards.
Now it all works OK, on XP and Vista (still gotta test x64), beside the fact that Explorer stubbornly caches/doesn't unload dll when it's not needed (but it's OK since (un)installer will do a reboot).
I traced interface calls and it is incredible to see such M$-incompetence (parts of output from a few runs, just for an illustration), look at that inconsistent mess:
CCBXShell::CCBXShell
IInitializeWithFile::Initialize
CCBXArchive::OnLoad
IExtractImage::GetLocation
CCBXArchive::OnGetLocation
IThumbnailProvider::GetThumbnail
CCBXArchive::OnGetLocation
CCBXArchive::OnExtract
CCBXShell::~CCBXShell


CCBXShell::CCBXShell
IInitializeWithFile::Initialize
CCBXArchive::OnLoad
IExtractImage::GetLocation
CCBXArchive::OnGetLocation
IThumbnailProvider::GetThumbnail
CCBXArchive::OnGetLocation
CCBXArchive::OnExtract
CCBXShell::~CCBXShell



CCBXShell::CCBXShell
IInitializeWithFile::Initialize     CCBXArchive::OnLoad
IExtractImage::GetLocation   CCBXArchive::OnGetLocation
IThumbnailProvider::GetThumbnail   CCBXArchive::OnGetLocation   CCBXArchive::OnExtract

CCBXShell::CCBXShell
IInitializeWithFile::Initialize     CCBXArchive::OnLoad   CCBXArchive::OnGetInfoTip
CCBXShell::~CCBXShell
CCBXShell::~CCBXShell

GeneralRe: shell COM problems with Vista Pin
T800G25-Dec-09 7:17
T800G25-Dec-09 7:17 
QuestionHow to use collection object as interface method parameter in .NET Pin
Chiman111-Dec-09 17:41
Chiman111-Dec-09 17:41 
QuestionUnable to cast COM object of type 'magic.magicClass' to interface type 'magic.Dmagic'. Pin
Chrispie1239-Dec-09 23:27
Chrispie1239-Dec-09 23:27 
AnswerRe: Unable to cast COM object of type 'magic.magicClass' to interface type 'magic.Dmagic'. Pin
Richard MacCutchan10-Dec-09 2:35
mveRichard MacCutchan10-Dec-09 2:35 
AnswerRe: Unable to cast COM object of type 'magic.magicClass' to interface type 'magic.Dmagic'. Pin
KarstenK14-Dec-09 22:42
mveKarstenK14-Dec-09 22:42 
QuestionHow to hide one of the pins in the DirectShow Source Filter ? Pin
Raja Bose C Leo8-Dec-09 21:42
Raja Bose C Leo8-Dec-09 21:42 
QuestionExcel.exe is not getting killed implicitly Pin
KTTransfer7-Dec-09 18:40
KTTransfer7-Dec-09 18:40 
AnswerRe: Excel.exe is not getting killed implicitly Pin
serzh8316-Dec-09 5:21
serzh8316-Dec-09 5:21 
Questionusing interface Pin
Chiman15-Dec-09 1:09
Chiman15-Dec-09 1:09 
AnswerRe: using interface Pin
Jonathan Davies5-Dec-09 5:03
Jonathan Davies5-Dec-09 5:03 
AnswerRe: using interface Pin
«_Superman_»5-Dec-09 5:04
professional«_Superman_»5-Dec-09 5:04 
QuestionCalling Com object From C# to add 2 numbers Pin
Chrispie1232-Dec-09 7:47
Chrispie1232-Dec-09 7:47 
AnswerRe: Calling Com object From C# to add 2 numbers Pin
Chrispie1233-Dec-09 18:32
Chrispie1233-Dec-09 18:32 
AnswerRe: Calling Com object From C# to add 2 numbers Pin
KarstenK14-Dec-09 22:48
mveKarstenK14-Dec-09 22:48 
AnswerRe: Calling Com object From C# to add 2 numbers Pin
Md. Marufuzzaman15-Dec-09 4:04
professionalMd. Marufuzzaman15-Dec-09 4:04 
QuestionIs it possible to attach the manifest info to a dll for SxS? Pin
levinp29-Nov-09 21:41
levinp29-Nov-09 21:41 
QuestionUsing COM component invalid pointer error Pin
Ash_VCPP27-Nov-09 1:19
Ash_VCPP27-Nov-09 1:19 

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.