Click here to Skip to main content
15,894,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionAbout CFileDialog toobar icon color Pin
throne88821-Jun-07 0:25
throne88821-Jun-07 0:25 
QuestionRe: About CFileDialog toobar icon color Pin
Mark Salsbery21-Jun-07 6:14
Mark Salsbery21-Jun-07 6:14 
AnswerRe: About CFileDialog toobar icon color Pin
throne88821-Jun-07 14:52
throne88821-Jun-07 14:52 
GeneralRe: About CFileDialog toobar icon color Pin
Mark Salsbery21-Jun-07 15:17
Mark Salsbery21-Jun-07 15:17 
GeneralRe: About CFileDialog toobar icon color Pin
Mark Salsbery21-Jun-07 15:25
Mark Salsbery21-Jun-07 15:25 
QuestionHow to determine IPAdress's network(public or private) Pin
sasi8320-Jun-07 22:57
sasi8320-Jun-07 22:57 
AnswerRe: How to determine IPAdress's network(public or private) Pin
NiceNaidu20-Jun-07 23:08
NiceNaidu20-Jun-07 23:08 
GeneralHow to determine IPAdress's network(public or private) Pin
sasi8320-Jun-07 23:59
sasi8320-Jun-07 23:59 
QuestiontITLE bAR Pin
nitin320-Jun-07 21:50
nitin320-Jun-07 21:50 

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.