Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
QuestionUsercontrol - Respond to parent controls events? Pin
Ian Roberts1-Aug-06 22:21
Ian Roberts1-Aug-06 22:21 
AnswerRe: Usercontrol - Respond to parent controls events? Pin
S. Senthil Kumar2-Aug-06 3:37
S. Senthil Kumar2-Aug-06 3:37 
QuestionWinform Control Event Handling Pin
adityap1-Aug-06 21:22
adityap1-Aug-06 21:22 
Questiondifferent font in each row of listbox Pin
nauty1-Aug-06 21:18
nauty1-Aug-06 21:18 
AnswerRe: different font in each row of listbox Pin
albCode1-Aug-06 21:23
albCode1-Aug-06 21:23 
AnswerRe: different font in each row of listbox Pin
yueue2-Aug-06 4:56
yueue2-Aug-06 4:56 
QuestionError Rolling Back Setup (Installer Class) Pin
abhinish1-Aug-06 20:34
abhinish1-Aug-06 20:34 
QuestionCluster Management APIs Pin
NewDev4241-Aug-06 20:25
NewDev4241-Aug-06 20:25 
Hello All,

Im Coding cluster Management functions in C# using the APIs. When I am trying to DLLImport for the API GetClusterGroupState as

I get an System.AccessViolationException that protected memory is accesses. Let me know the How shoud I use this API in c#. Here is my code.

[DllImport("clusapi.dll", EntryPoint = "GetClusterGroupState", SetLastError = true,
CharSet = CharSet.Unicode, ExactSpelling = false, CallingConvention = CallingConvention.StdCall),
SuppressUnmanagedCodeSecurityAttribute()]
internal static extern int GetClusterGroupState(
IntPtr hClusGroup,
out string strOwnerNode,
[MarshalAs(UnmanagedType.I4)] int nNodeNamebuf);

Thanks

QuestionAnimated gif in DataGridView Pin
e_LA1-Aug-06 20:05
e_LA1-Aug-06 20:05 
QuestionTroubles Debugging In .NET 2.0.50727 Pin
white.thief1-Aug-06 19:11
white.thief1-Aug-06 19:11 
AnswerRe: Troubles Debugging In .NET 2.0.50727 Pin
leppie1-Aug-06 20:48
leppie1-Aug-06 20:48 
GeneralRe: Troubles Debugging In .NET 2.0.50727 Pin
white.thief2-Aug-06 5:09
white.thief2-Aug-06 5:09 
Questionhow to get the cpu and memory use ratio ? Pin
Janezzq1-Aug-06 15:06
Janezzq1-Aug-06 15:06 
AnswerRe: how to get the cpu and memory use ratio ? Pin
sundar1563-Aug-06 11:36
sundar1563-Aug-06 11:36 
Questionhow to get the cpu and memory use ratio ? Pin
Janezzq1-Aug-06 15:03
Janezzq1-Aug-06 15:03 
AnswerRe: how to get the cpu and memory use ratio ? Pin
seq-2-Aug-06 11:47
seq-2-Aug-06 11:47 
QuestionLocalization problem ! Pin
Vertyg01-Aug-06 13:08
Vertyg01-Aug-06 13:08 
AnswerRe: Localization problem ! Pin
lmoelleb1-Aug-06 21:23
lmoelleb1-Aug-06 21:23 
GeneralRe: Localization problem ! Pin
Vertyg01-Aug-06 22:02
Vertyg01-Aug-06 22:02 
GeneralRe: Localization problem ! [modified] Pin
lmoelleb1-Aug-06 23:39
lmoelleb1-Aug-06 23:39 
GeneralRe: Localization problem ! Pin
Vertyg02-Aug-06 7:51
Vertyg02-Aug-06 7:51 
QuestionNetwork Access monitoring Pin
sundar1561-Aug-06 11:16
sundar1561-Aug-06 11:16 
AnswerRe: Network Access monitoring Pin
Ingo2-Aug-06 1:47
Ingo2-Aug-06 1:47 
GeneralRe: Network Access monitoring Pin
sundar1562-Aug-06 8:54
sundar1562-Aug-06 8:54 
GeneralRe: Network Access monitoring Pin
Ingo2-Aug-06 12:39
Ingo2-Aug-06 12: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.