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

C#

 
GeneralRe: Datagridview delete problem Pin
half-life3-Jun-09 23:13
half-life3-Jun-09 23:13 
AnswerRe: Datagridview delete problem Pin
bsaksida4-Jun-09 6:54
bsaksida4-Jun-09 6:54 
GeneralRe: Datagridview delete problem Pin
half-life6-Jun-09 19:32
half-life6-Jun-09 19:32 
QuestionCharacter map Pin
dell2243-Jun-09 18:44
dell2243-Jun-09 18:44 
AnswerRe: Character map Pin
Anubhava Dimri13-Apr-11 19:27
Anubhava Dimri13-Apr-11 19:27 
QuestionDisabling back button of IE window using c# Pin
svt gdwl3-Jun-09 18:38
svt gdwl3-Jun-09 18:38 
AnswerRe: Disabling back button of IE window using c# Pin
Christian Graus3-Jun-09 22:07
protectorChristian Graus3-Jun-09 22:07 
Questionsizeof(struct) in C#.net Pin
eyeshield213-Jun-09 18:34
eyeshield213-Jun-09 18:34 
hi,

I want to ask how to get size of struct that I made?

ex:
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public struct MT_EVENT
{
public Int64 TimeStamp; // In FILETIME format
//public LARGE_INTEGER TimeStamp; // In FILETIME format
public uint UserStatus; // Not used by API
public uint EventCode; // Event Code
public uint SubReason; // Event sub-reason
public uint XtraInfo; // Extra information, e.g. termination
public uint FuncCode; // Function active when this event occurred
public uint Board; // Board ID
public uint Channel; // Global Channel ID (GCI)
public IntPtr ptrBuffer; // Related play/record buffer pointer
public uint DataLength; // Byte length of data accessed (played/recorded)

public IntPtr ptrXtraBuffer; // Pointer to xtra buffer
public uint XtraBufferLength; // Length of buffer pointed by ptrXtraBuffer
public uint XtraDataLength; // Length of data in buffer pointed by ptrXtraBuffer
public uint EventFlag; // Falgs of the following:
// bit 0x00000001: 1 - Appl created the event
// 0 - NTi DLL created the event
// bit 0x00000002: 1 - Appl allocated ptrtraBuffer
// 0 - NTi DLL allocated ptrXtraBuffer



}
AnswerRe: sizeof(struct) in C#.net Pin
eyeshield213-Jun-09 19:01
eyeshield213-Jun-09 19:01 
GeneralRe: sizeof(struct) in C#.net Pin
bsaksida3-Jun-09 20:38
bsaksida3-Jun-09 20:38 
GeneralRe: sizeof(struct) in C#.net Pin
Luc Pattyn3-Jun-09 23:02
sitebuilderLuc Pattyn3-Jun-09 23:02 
QuestionDataGridView Pin
Yathish hatter3-Jun-09 18:28
Yathish hatter3-Jun-09 18:28 
AnswerRe: DataGridView Pin
Henry Minute4-Jun-09 3:01
Henry Minute4-Jun-09 3:01 
QuestionGet data from a DataSet and display Pin
CodingLover3-Jun-09 17:42
CodingLover3-Jun-09 17:42 
NewsRe: Get data from a DataSet and display Pin
CodingLover3-Jun-09 18:21
CodingLover3-Jun-09 18:21 
QuestionListview Pin
benjamin yap3-Jun-09 16:40
benjamin yap3-Jun-09 16:40 
AnswerRe: Listview Pin
Niladri_Biswas3-Jun-09 19:16
Niladri_Biswas3-Jun-09 19:16 
GeneralRe: Listview Pin
benjamin yap3-Jun-09 23:31
benjamin yap3-Jun-09 23:31 
GeneralRe: Listview Pin
Niladri_Biswas4-Jun-09 4:41
Niladri_Biswas4-Jun-09 4:41 
Questionappend files Pin
Zopilote323-Jun-09 12:30
Zopilote323-Jun-09 12:30 
AnswerRe: append files Pin
Luc Pattyn3-Jun-09 12:38
sitebuilderLuc Pattyn3-Jun-09 12:38 
AnswerRe: append files Pin
Christian Graus3-Jun-09 13:06
protectorChristian Graus3-Jun-09 13:06 
Question[Message Deleted] Pin
har dh3-Jun-09 10:00
har dh3-Jun-09 10:00 
AnswerRe: Need programming tips for my issue. Pin
Not Active3-Jun-09 10:02
mentorNot Active3-Jun-09 10:02 
AnswerRe: Need programming tips for my issue. Pin
EliottA3-Jun-09 10:10
EliottA3-Jun-09 10:10 

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.