queryinterface Questions
2
Solved
Trying to understand What is IConnectionPoint and how this is connected to IConnectionPointContainer,IEnumConnectionPoints,IEnumConnections and EventHandling.
Read the artcicles from MSDN and Code...
Pickpocket asked 25/8, 2010 at 6:37
4
I want to use a function from nvapi in C# "NvAPI_DRS_EnumProfiles".
I have to call QueryInterface(id) with the id of the function.
Everything is working fine and i found the ids for the other func...
Hayfork asked 8/11, 2012 at 15:12
3
I created a COM object using Powershell:
$obj = new-object -com MyLib.MyObj
Then I need to query the interface "MyLib.MyInterface" on that object, but I have no idea how to do it with Po...
Impenetrable asked 7/12, 2011 at 2:59
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
3
Why is a QueryInterface() call always followed by a Release() call? For example, I have seen a sample code from MSDN as below:
HRESULT hr = S_OK;
CDecoder *pObj = new CDecoder(&hr);
if (SUCC...
Phelan asked 18/2, 2011 at 23:36
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.