IUnknown is the fundamental COM (Component Object Model) interface, which the specification mandates must be implemented by all COM objects. All other COM interfaces derive from IUnknown. The IUnknown interface exposes methods for object lifetime management and the ability to access object functionality by retrieving references to other interfaces. (NOTE: This tag is related to Windows programming. Don't use it to mean something is "unknown" to you!)
Questions tagged [iunknown]
63 questions
-1
votes
1 answer
How to know which method is not implemented for C2259 VS 2017 error?
I am defining a new interface and a class that implements it. I have added my class(XXX) and interface(IXXX) in idl file (I generated two uuids). My interface has two simple methods. I have implemented them( files XXX.h and XXX.cpp). I included the…

qqqqq
- 837
- 12
- 31
-1
votes
1 answer
When To Implement IUnknown in a class
I am writing a C++ class that consumes at least one COM interface from the Windows API. Obviously, when consuming these objects inside of the class I would need to properly call AddRef() and Release().
My question is...do I need to additionally…

Michael Buckman
- 140
- 9
-3
votes
1 answer
Java unknown number of arguments method
How can i make a method with a string and unknown number of intarguments?
Thanks.

Ofir Ohayon
- 367
- 2
- 18