Click here to Skip to main content
15,444,626 members
Home / Discussions / C#
   

C#

 
GeneralRe: Beginner C# questions Pin
leppie19-Sep-02 0:31
Memberleppie19-Sep-02 0:31 
GeneralDataGrid Pin
vikramlinux18-Sep-02 18:03
Membervikramlinux18-Sep-02 18:03 
GeneralHanging web request Pin
afronaut18-Sep-02 13:23
Memberafronaut18-Sep-02 13:23 
GeneralRe: Hanging web request Pin
Paul Riley18-Sep-02 13:31
MemberPaul Riley18-Sep-02 13:31 
GeneralRe: Hanging web request Pin
afronaut18-Sep-02 13:32
Memberafronaut18-Sep-02 13:32 
GeneralRe: Hanging web request Pin
afronaut19-Sep-02 5:24
Memberafronaut19-Sep-02 5:24 
GeneralManaged interface for IActiveDesktop Pin
Wjousts18-Sep-02 11:59
MemberWjousts18-Sep-02 11:59 
GeneralRe: Managed interface for IActiveDesktop Pin
Stephane Rodriguez.18-Sep-02 20:44
MemberStephane 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
MemberWjousts19-Sep-02 15:50 
GeneralRe: Managed interface for IActiveDesktop Pin
Okeno Palmer28-Dec-03 18:50
MemberOkeno Palmer28-Dec-03 18:50 
QuestionRelease date of .NET 1.1? Pin
leppie18-Sep-02 4:50
Memberleppie18-Sep-02 4:50 
GeneralWeb Service question (C#) Pin
User 988518-Sep-02 4:50
MemberUser 988518-Sep-02 4:50 
GeneralWeb Service question (C#) - addl info Pin
User 988518-Sep-02 4:55
MemberUser 988518-Sep-02 4:55 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 4:57
Memberleppie18-Sep-02 4:57 
GeneralRe: Web Service question (C#) Pin
Ray Cassick18-Sep-02 5:20
MemberRay Cassick18-Sep-02 5:20 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 5:59
Memberleppie18-Sep-02 5:59 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 5:28
MemberUser 988518-Sep-02 5:28 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 5:53
Memberleppie18-Sep-02 5:53 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:39
MemberUser 988518-Sep-02 6:39 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 6:46
Memberleppie18-Sep-02 6:46 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:54
MemberUser 988518-Sep-02 6:54 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 7:12
Memberleppie18-Sep-02 7:12 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:56
MemberUser 988518-Sep-02 6:56 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 7:17
Memberleppie18-Sep-02 7:17 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 7:39
MemberUser 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.