Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AddRef and Release Pin
CPallini3-Feb-08 22:39
mveCPallini3-Feb-08 22:39 
GeneralRe: AddRef and Release Pin
George_George3-Feb-08 22:46
George_George3-Feb-08 22:46 
GeneralRe: AddRef and Release Pin
CPallini3-Feb-08 22:56
mveCPallini3-Feb-08 22:56 
GeneralRe: AddRef and Release Pin
George_George3-Feb-08 23:04
George_George3-Feb-08 23:04 
GeneralRe: AddRef and Release Pin
CPallini3-Feb-08 23:34
mveCPallini3-Feb-08 23:34 
GeneralRe: AddRef and Release Pin
George_George3-Feb-08 23:50
George_George3-Feb-08 23:50 
GeneralCreateInstance Pin
George_George3-Feb-08 14:52
George_George3-Feb-08 14:52 
QuestionRe: CreateInstance Pin
CPallini3-Feb-08 21:52
mveCPallini3-Feb-08 21:52 
George_George wrote:
My question is, why static_cast to result in IUnknown*? Why not static_cast to result in IUnknown* to be more straightforward (even if I think using IX* and IUnknown* have the same effect)? Are there any reasons or advantages if we use IX* other than IUnknown*?

Confused | :confused:

Sorry, but I'm not able to understand the above sentences.

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


GeneralRe: CreateInstance Pin
George_George3-Feb-08 22:02
George_George3-Feb-08 22:02 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 22:08
mveCPallini3-Feb-08 22:08 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 22:10
George_George3-Feb-08 22:10 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 22:19
mveCPallini3-Feb-08 22:19 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 22:25
George_George3-Feb-08 22:25 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 22:35
mveCPallini3-Feb-08 22:35 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 22:40
George_George3-Feb-08 22:40 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 22:52
mveCPallini3-Feb-08 22:52 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 23:01
George_George3-Feb-08 23:01 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 23:33
mveCPallini3-Feb-08 23:33 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 23:53
George_George3-Feb-08 23:53 
GeneralRe: CreateInstance Pin
CPallini4-Feb-08 0:13
mveCPallini4-Feb-08 0:13 
GeneralRe: CreateInstance Pin
George_George4-Feb-08 0:34
George_George4-Feb-08 0:34 
GeneralRe: CreateInstance Pin
CPallini4-Feb-08 1:47
mveCPallini4-Feb-08 1:47 
GeneralRe: CreateInstance Pin
George_George4-Feb-08 1:48
George_George4-Feb-08 1:48 
GeneralThanks Pin
CPallini4-Feb-08 2:00
mveCPallini4-Feb-08 2:00 
QuestionLost Helpfiles Pin
Bram van Kampen3-Feb-08 13:22
Bram van Kampen3-Feb-08 13:22 

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.