Click here to Skip to main content
15,909,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Returning an array from a function Pin
Kevin McFarlane27-Nov-04 2:31
Kevin McFarlane27-Nov-04 2:31 
GeneralRe: Returning an array from a function Pin
aaadetos27-Nov-04 2:35
aaadetos27-Nov-04 2:35 
GeneralRe: Returning an array from a function Pin
Kevin McFarlane27-Nov-04 4:11
Kevin McFarlane27-Nov-04 4:11 
GeneralRe: Returning an array from a function Pin
John R. Shaw27-Nov-04 6:12
John R. Shaw27-Nov-04 6:12 
GeneralRe: Returning an array from a function Pin
aaadetos30-Nov-04 2:08
aaadetos30-Nov-04 2:08 
GeneralRe: Returning an array from a function Pin
John R. Shaw30-Nov-04 14:40
John R. Shaw30-Nov-04 14:40 
GeneralIShellFolder2 Pin
Gurra_Koo26-Nov-04 23:02
Gurra_Koo26-Nov-04 23:02 
GeneralRe: IShellFolder2 Pin
Gary R. Wheeler27-Nov-04 2:07
Gary R. Wheeler27-Nov-04 2:07 
Try adding the following lines at the top of your stdafx.h file:
#define WINVER       0x0501
#define _WIN32_WINNT 0x0501
#define _WIN32_IE    0x0600
These ensure that when the Windows headers get compiled, the features that are only present in later versions of Windows (or provided by Internet Explorer) are available.

Gurra_Koo wrote:
Do I have to import something that implement the interface?

No. It sounds like in your application you're getting the interface from an API call (most likely SHGetDesktopFolder()). The only time you would implement IShellFolder2 would be if you were writing a namespace extension for an object that would become part of the Windows shell.



Software Zen: delete this;
GeneralRe: IShellFolder2 Pin
Gurra_Koo27-Nov-04 9:55
Gurra_Koo27-Nov-04 9:55 
QuestionHow can i get the boot drive Pin
Monty226-Nov-04 21:40
Monty226-Nov-04 21:40 
AnswerRe: How can i get the boot drive Pin
Alexander M.,27-Nov-04 9:28
Alexander M.,27-Nov-04 9:28 
Questionhow to prohibit a window maximizing in api?thanks Pin
cjwin8326-Nov-04 21:33
cjwin8326-Nov-04 21:33 
AnswerRe: how to prohibit a window maximizing in api?thanks Pin
PJ Arends26-Nov-04 21:40
professionalPJ Arends26-Nov-04 21:40 
QuestionHow to draw Dashed Ellipse in Embedded VC++ Pin
Arun AC26-Nov-04 20:39
Arun AC26-Nov-04 20:39 
GeneralLittle Doubt Using Send Message Pin
ThatsAlok26-Nov-04 20:38
ThatsAlok26-Nov-04 20:38 
GeneralRe: Little Doubt Using Send Message Pin
PJ Arends26-Nov-04 20:53
professionalPJ Arends26-Nov-04 20:53 
GeneralRe: Little Doubt Using Send Message Pin
ThatsAlok26-Nov-04 22:36
ThatsAlok26-Nov-04 22:36 
GeneralRe: Little Doubt Using Send Message Pin
PJ Arends26-Nov-04 23:00
professionalPJ Arends26-Nov-04 23:00 
GeneralRe: Little Doubt Using Send Message Pin
ThatsAlok26-Nov-04 23:03
ThatsAlok26-Nov-04 23:03 
GeneralRe: Little Doubt Using Send Message Pin
ThatsAlok26-Nov-04 23:37
ThatsAlok26-Nov-04 23:37 
GeneralRe: Little Doubt Using Send Message Pin
PJ Arends27-Nov-04 0:07
professionalPJ Arends27-Nov-04 0:07 
GeneralRe: Little Doubt Using Send Message Pin
ThatsAlok27-Nov-04 0:34
ThatsAlok27-Nov-04 0:34 
Questioncustom DWebBrowserEvents2 Interface? Pin
tkarven26-Nov-04 16:20
tkarven26-Nov-04 16:20 
GeneralPlease help me CPP Pin
bluehai26-Nov-04 16:02
bluehai26-Nov-04 16:02 
GeneralRe: Please help me CPP Pin
Anonymous26-Nov-04 21:44
Anonymous26-Nov-04 21:44 

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.