Click here to Skip to main content
15,901,426 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CSocket OnReceive Problem.... Pin
AkiraOne21-Jun-07 20:35
AkiraOne21-Jun-07 20:35 
AnswerRe: CSocket OnReceive Problem.... Pin
AkiraOne21-Jun-07 22:40
AkiraOne21-Jun-07 22:40 
Questionerror in this codes, i need a help Pin
urbdos21-Jun-07 2:01
urbdos21-Jun-07 2:01 
AnswerRe: error in this codes, i need a help Pin
Cedric Moonen21-Jun-07 2:14
Cedric Moonen21-Jun-07 2:14 
AnswerRe: error in this codes, i need a help Pin
David Crow21-Jun-07 2:23
David Crow21-Jun-07 2:23 
AnswerRe: error in this codes, i need a help Pin
Hamid_RT21-Jun-07 2:29
Hamid_RT21-Jun-07 2:29 
AnswerRe: error in this codes, i need a help Pin
kakan21-Jun-07 4:02
professionalkakan21-Jun-07 4:02 
QuestionFile Opening: Pin
T.RATHA KRISHNAN21-Jun-07 1:51
T.RATHA KRISHNAN21-Jun-07 1:51 
AnswerRe: File Opening: Pin
Steve S21-Jun-07 2:06
Steve S21-Jun-07 2:06 
QuestionRe: File Opening: Pin
T.RATHA KRISHNAN21-Jun-07 2:14
T.RATHA KRISHNAN21-Jun-07 2:14 
QuestionRe: File Opening: Pin
David Crow21-Jun-07 2:24
David Crow21-Jun-07 2:24 
QuestionRe: File Opening: Pin
David Crow21-Jun-07 2:24
David Crow21-Jun-07 2:24 
AnswerRe: File Opening: Pin
Jhony george21-Jun-07 2:11
Jhony george21-Jun-07 2:11 
GeneralRe: File Opening: Pin
T.RATHA KRISHNAN21-Jun-07 2:20
T.RATHA KRISHNAN21-Jun-07 2:20 
AnswerRe: File Opening: Pin
Hamid_RT21-Jun-07 2:33
Hamid_RT21-Jun-07 2:33 
Questionerror C2027: use of undefined type 'IActiveDesktop' Pin
neha.agarwal2721-Jun-07 1:37
neha.agarwal2721-Jun-07 1:37 
AnswerRe: error C2027: use of undefined type 'IActiveDesktop' Pin
Steve S21-Jun-07 2:11
Steve S21-Jun-07 2:11 
You could try

#include <wininet.h>
#include <shlobj.h>

as I believe there are things in shlobj.h that rely on wininet.h being included first.

After that, you might also consider that by default, #import generates definitions inside a namespace, so if that was where IActiveDesktop was being defined, it wouldn't be in the global namespace.

You can look at the generated tli/tlh files to see what the namespace is called.

Steve S
Developer for hire

AnswerRe: error C2027: use of undefined type 'IActiveDesktop' Pin
Hamid_RT21-Jun-07 2:34
Hamid_RT21-Jun-07 2:34 
AnswerRe: error C2027: use of undefined type 'IActiveDesktop' Pin
David Crow21-Jun-07 2:36
David Crow21-Jun-07 2:36 
GeneralRe: error C2027: use of undefined type 'IActiveDesktop' Pin
neha.agarwal2721-Jun-07 2:50
neha.agarwal2721-Jun-07 2:50 
QuestionVS.NET Error ? Pin
baerten21-Jun-07 1:28
baerten21-Jun-07 1:28 
AnswerRe: VS.NET Error ? Pin
Matthew Faithfull21-Jun-07 5:55
Matthew Faithfull21-Jun-07 5:55 
GeneralRe: VS.NET Error ? Pin
baerten21-Jun-07 21:27
baerten21-Jun-07 21:27 
Questionprotecting file Pin
deeps_cute21-Jun-07 0:58
deeps_cute21-Jun-07 0:58 
AnswerRe: protecting file Pin
David Crow21-Jun-07 2:40
David Crow21-Jun-07 2:40 

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.