Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Beginner C# questions Pin
leppie19-Sep-02 0:31
leppie19-Sep-02 0:31 
GeneralDataGrid Pin
vikramlinux18-Sep-02 18:03
vikramlinux18-Sep-02 18:03 
GeneralHanging web request Pin
afronaut18-Sep-02 13:23
afronaut18-Sep-02 13:23 
GeneralRe: Hanging web request Pin
Paul Riley18-Sep-02 13:31
Paul Riley18-Sep-02 13:31 
GeneralRe: Hanging web request Pin
afronaut18-Sep-02 13:32
afronaut18-Sep-02 13:32 
GeneralRe: Hanging web request Pin
afronaut19-Sep-02 5:24
afronaut19-Sep-02 5:24 
GeneralManaged interface for IActiveDesktop Pin
Wjousts18-Sep-02 11:59
Wjousts18-Sep-02 11:59 
GeneralRe: Managed interface for IActiveDesktop Pin
Stephane Rodriguez.18-Sep-02 20:44
Stephane Rodriguez.18-Sep-02 20:44 
I have randomly taken one method GetDesktopItemCount that wasn't working with your code, and got it to work thanks to slight modifications :

- declare this method as :
uint GetDesktopItemCount(out int lpiCount);


- use it :
int nbdesktops = 0;
uint hresult = IDesk.GetDesktopItemCount(out nbdesktops);



In other words, - IActiveDesktop is not a dispatch interface, so you must consume the HRESULT value in return. - out values are marshalled with the out attribute.



MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site.
GeneralRe: Managed interface for IActiveDesktop Pin
Wjousts19-Sep-02 15:50
Wjousts19-Sep-02 15:50 
GeneralRe: Managed interface for IActiveDesktop Pin
Okeno Palmer28-Dec-03 18:50
Okeno Palmer28-Dec-03 18:50 
QuestionRelease date of .NET 1.1? Pin
leppie18-Sep-02 4:50
leppie18-Sep-02 4:50 
GeneralWeb Service question (C#) Pin
User 988518-Sep-02 4:50
User 988518-Sep-02 4:50 
GeneralWeb Service question (C#) - addl info Pin
User 988518-Sep-02 4:55
User 988518-Sep-02 4:55 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 4:57
leppie18-Sep-02 4:57 
GeneralRe: Web Service question (C#) Pin
Ray Cassick18-Sep-02 5:20
Ray Cassick18-Sep-02 5:20 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 5:59
leppie18-Sep-02 5:59 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 5:28
User 988518-Sep-02 5:28 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 5:53
leppie18-Sep-02 5:53 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:39
User 988518-Sep-02 6:39 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 6:46
leppie18-Sep-02 6:46 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:54
User 988518-Sep-02 6:54 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 7:12
leppie18-Sep-02 7:12 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:56
User 988518-Sep-02 6:56 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 7:17
leppie18-Sep-02 7:17 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 7:39
User 988518-Sep-02 7:39 

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.