iunknown Questions
2
Solved
I am attempting to write two functions that add and remove a folder from a IShellLibrary. I started with this, but the function produces an exception in System._IntfClear:
First chance exceptio...
Ironbark asked 23/7, 2013 at 14:6
0
Summary
After declaring an array for some object type where the type doesn't use an interface that derives from COM's IDispatch interface (& so isn't properly set-up to enable [OLE] Automation...
Corrie asked 15/5, 2019 at 18:40
2
Solved
I want to add a feature to my classes so I can use them in for-each loops.
I wrote hashmaps, arraylists, queues, sets and so on that I want to iterate over.
Now I'm looking for a way to implement ...
3
Solved
I've been looking for an example of how to implement IUnknown in C#, but haven't found any decent references or solutions to this.
Should it be as simple as...
public interface IUnknown
{
UInt32...
4
Solved
If I have an IUnknown *ptr, do I need to call Release() on every interface I obtain through ptr->QueryInterface(), in addition to calling ptr->Release() when I'm done with ptr?
I used to thi...
Wayside asked 11/9, 2011 at 4:22
2
Solved
Despite years of Delphi programming I just ran into a class declaration style I had never seen for a class that supports IUnknown:
TBCUnknown = class(TBCBaseObject, IUnKnown)
private
FRefCount: i...
3
Solved
Sorry if this question seems obvious for everyone, but I am very new to COM. From the tutorial I see here http://www.codeguru.com/cpp/com-tech/activex/tutorials/article.php/c5567, it seems like eve...
2
Every time I build my C# Solution, I get a handful of warnings about interfaces that I've never seen or written. I tried Googling for some of them, but get no hits. Could these possibly be buried i...
3
Solved
In Delphi, IUnknown is declared as:
function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall;
Note: The output parameter is untyped
In my TInterfacedObject descendant i need to hand...
Rhu asked 21/7, 2010 at 20:7
1
© 2022 - 2024 — McMap. All rights reserved.