Click here to Skip to main content
15,903,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Time Format Pin
David Crow24-Sep-08 4:14
David Crow24-Sep-08 4:14 
Questiondispinterface v.s. IDispatch Pin
George_George23-Sep-08 21:00
George_George23-Sep-08 21:00 
AnswerRe: dispinterface v.s. IDispatch Pin
followait23-Sep-08 21:47
followait23-Sep-08 21:47 
GeneralRe: dispinterface v.s. IDispatch Pin
George_George23-Sep-08 21:58
George_George23-Sep-08 21:58 
GeneralRe: dispinterface v.s. IDispatch Pin
CPallini23-Sep-08 22:11
mveCPallini23-Sep-08 22:11 
GeneralRe: dispinterface v.s. IDispatch Pin
George_George23-Sep-08 22:18
George_George23-Sep-08 22:18 
GeneralRe: dispinterface v.s. IDispatch Pin
CPallini23-Sep-08 22:26
mveCPallini23-Sep-08 22:26 
GeneralRe: dispinterface v.s. IDispatch Pin
George_George23-Sep-08 22:47
George_George23-Sep-08 22:47 
There are 3 ways to provide IDispatch interface,

1. Expose interface say IX in QueryInterface, and marking IX dispinterface IDL;

2. Expose interface IDispatch directly in QueryInterface, and coclass implements IDispatch directly;

3. Expose interface say IX (and IX inherits from IDispatch) in QueryInterface, and making coclass implements IX (i.e. dual interface).

I think the differences between 1 and 2 is just we can use dispid property in IDL file if we mark an interface dispinterface, but can not use dispid property in IDL if it is not dispinterface.

Any comments?


regards,
George
AnswerRe: dispinterface v.s. IDispatch Pin
CPallini23-Sep-08 22:09
mveCPallini23-Sep-08 22:09 
GeneralRe: dispinterface v.s. IDispatch Pin
George_George23-Sep-08 22:17
George_George23-Sep-08 22:17 
QuestionCopy Folder File Data [modified] Pin
Davitor23-Sep-08 20:25
Davitor23-Sep-08 20:25 
AnswerRe: Copy Folder File Data Pin
SandipG 23-Sep-08 20:31
SandipG 23-Sep-08 20:31 
GeneralRe: Copy Folder File Data Pin
Davitor23-Sep-08 20:43
Davitor23-Sep-08 20:43 
GeneralRe: Copy Folder File Data Pin
SandipG 23-Sep-08 20:50
SandipG 23-Sep-08 20:50 
GeneralRe: Copy Folder File Data Pin
Davitor23-Sep-08 21:00
Davitor23-Sep-08 21:00 
GeneralRe: Copy Folder File Data Pin
SandipG 23-Sep-08 21:21
SandipG 23-Sep-08 21:21 
AnswerRe: Copy Folder File Data Pin
_AnsHUMAN_ 23-Sep-08 20:34
_AnsHUMAN_ 23-Sep-08 20:34 
AnswerRe: Copy Folder File Data Pin
David Crow24-Sep-08 4:15
David Crow24-Sep-08 4:15 
Questionchange specifice dialog color Pin
anilaabc23-Sep-08 19:53
anilaabc23-Sep-08 19:53 
AnswerRe: change specifice dialog color Pin
sashoalm23-Sep-08 20:11
sashoalm23-Sep-08 20:11 
AnswerRe: change specifice dialog color Pin
CPallini23-Sep-08 21:58
mveCPallini23-Sep-08 21:58 
QuestionImage Processing related... Pin
LijaGeorge23-Sep-08 19:34
LijaGeorge23-Sep-08 19:34 
AnswerRe: Image Processing related... Pin
fzhsheng23-Sep-08 19:41
fzhsheng23-Sep-08 19:41 
AnswerRe: Image Processing related... Pin
CPallini23-Sep-08 21:53
mveCPallini23-Sep-08 21:53 
QuestionHow can I calculate the speed of file transfer using recv function on client? the code a client presented as below Pin
Pearson_Bee23-Sep-08 19:33
Pearson_Bee23-Sep-08 19:33 

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.