Click here to Skip to main content
15,921,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I load a dll from within a dll. Pin
Member 114349817-Jun-04 21:41
Member 114349817-Jun-04 21:41 
GeneralRe: How do I load a dll from within a dll. Pin
Blake Miller18-Jun-04 4:16
Blake Miller18-Jun-04 4:16 
GeneralRe: How do I load a dll from within a dll. Pin
Member 114349820-Jun-04 21:07
Member 114349820-Jun-04 21:07 
GeneralVC++ Macros Reference (VB) Pin
Archer28215-Jun-04 21:39
Archer28215-Jun-04 21:39 
GeneralRe: VC++ Macros Reference (VB) Pin
Kevin McFarlane16-Jun-04 0:11
Kevin McFarlane16-Jun-04 0:11 
GeneralRe: VC++ Macros Reference (VB) Pin
Archer28216-Jun-04 10:05
Archer28216-Jun-04 10:05 
GeneralRe: VC++ Macros Reference (VB) Pin
Kevin McFarlane16-Jun-04 11:53
Kevin McFarlane16-Jun-04 11:53 
GeneralCOM newbie - ITaskbarList problem Pin
Kri515-Jun-04 21:35
Kri515-Jun-04 21:35 
I just started COM programming and managed to write some small sample programs to use the IActiveDesktop and IShellLink interfaces and their methods; basically i am playing around with things like these for the time being:

<br />
    CoInitialize(NULL);<br />
<br />
    WCHAR   wszWallpaper [MAX_PATH];<br />
    HRESULT hr;<br />
    IActiveDesktop* pIAD;<br />
<br />
<br />
    // using Active Desktop interface<br />
    hr = CoCreateInstance ( CLSID_ActiveDesktop, NULL, CLSCTX_INPROC_SERVER, IID_IActiveDesktop, (void**) &pIAD );<br />
<br />
    if ( SUCCEEDED(hr) )<br />
    {<br />
        // Get the name of the wallpaper file.<br />
        hr = pIAD->GetWallpaper ( wszWallpaper, MAX_PATH, 0 );<br />
<br />
        if ( SUCCEEDED(hr) )<br />
        {<br />
            wcout << L"Wallpaper path is:\n    " << wszWallpaper << endl << endl;<br />
        }<br />
<br />
    }<br />
<br />
  //.... etc<br />


The above compiles correctly and works successfully.

However, when i try to use the ITaskbarList in the same manner, the compiler throws it all up, telling me that ITaskbarList is an undeclared identifier...

Any ideas where i'm getting it all wrong?

Many thanks...

Chris
GeneralDynamic creation of controls and getting messages Pin
grinder15-Jun-04 21:26
grinder15-Jun-04 21:26 
GeneralRe: Dynamic creation of controls and getting messages Pin
Johan Rosengren15-Jun-04 22:11
Johan Rosengren15-Jun-04 22:11 
GeneralRe: Dynamic creation of controls and getting messages Pin
grinder16-Jun-04 1:45
grinder16-Jun-04 1:45 
GeneralRe: Dynamic creation of controls and getting messages Pin
Johan Rosengren16-Jun-04 2:01
Johan Rosengren16-Jun-04 2:01 
GeneralCOM port Programming Pin
Zeeshan Bilal15-Jun-04 21:20
Zeeshan Bilal15-Jun-04 21:20 
GeneralVolume Shadow Copy Services Pin
Pradeep Manohar15-Jun-04 21:13
Pradeep Manohar15-Jun-04 21:13 
GeneralRe: Volume Shadow Copy Services Pin
Scozturk15-Jun-04 21:18
professionalScozturk15-Jun-04 21:18 
GeneralRe: Volume Shadow Copy Services Pin
Aravind_Thangaraj10-Feb-05 22:38
Aravind_Thangaraj10-Feb-05 22:38 
GeneralColor Picker Pin
Scozturk15-Jun-04 21:11
professionalScozturk15-Jun-04 21:11 
GeneralRe: Color Picker Pin
Johan Rosengren15-Jun-04 22:14
Johan Rosengren15-Jun-04 22:14 
QuestionHow to message pass from one window to another window? Pin
Rajesh_K_Sharma15-Jun-04 20:17
Rajesh_K_Sharma15-Jun-04 20:17 
AnswerRe: How to message pass from one window to another window? Pin
toxcct15-Jun-04 21:00
toxcct15-Jun-04 21:00 
Questionhow to force a tree control redraw ? Pin
Anonymous15-Jun-04 20:12
Anonymous15-Jun-04 20:12 
GeneralList Control Header resizing problem Pin
Renjith Ramachandran15-Jun-04 20:12
Renjith Ramachandran15-Jun-04 20:12 
GeneralRe: List Control Header resizing problem Pin
Cohen15-Jun-04 23:50
Cohen15-Jun-04 23:50 
GeneralRe: List Control Header resizing problem Pin
Renjith Ramachandran16-Jun-04 0:24
Renjith Ramachandran16-Jun-04 0:24 
QuestionHow to show tooltip in toolbar Pin
Sumit Kapoor15-Jun-04 20:06
Sumit Kapoor15-Jun-04 20:06 

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.