Click here to Skip to main content
15,909,199 members
Home / Discussions / C#
   

C#

 
QuestionBit Fields Pin
Sabry190519-Sep-06 23:01
Sabry190519-Sep-06 23:01 
Hi all I am trying to convert code that being written in C++ to C# and I found that structure that using a property in C++ called "Bit Fields" and I didn't found it in C#, is there any way to convert it to C#
thx all

typedef struct _tagCPB {
unsigned short DialMode :1;
unsigned short LineToPBX :1;
unsigned short TriggerMode :1;
unsigned short DetectRoaringRemoteHangUp :1;
unsigned short DetectBusyRemoteHangUp :1;
unsigned short DetectRemoteHangUpWhenRecording :1;
unsigned short DetectRemoteHangUpAlways :1;
unsigned short StopOperationRemoteHangUp :1;
unsigned short MonitorDTMF :1;
unsigned short MonitorEnergy :1;
unsigned short DetectVoltReverseRemoteHangUp :1;
unsigned short DetectSilentWhenRecording :1;
unsigned short LearnPulse :1;
unsigned short MonitorPulse :1;
unsigned short MonitorTone :1;
unsigned short :1;
unsigned short OffHookDelay;
unsigned short OnHookDelay;
unsigned short FlashTime;
unsigned short PulseMake;
unsigned short PulseBreak;
unsigned short PulsePostDigitPause;
unsigned short ToneDuration;
unsigned short InterTonePause;
unsigned char OutsideLineAccess;
unsigned char RingsToAnswer;
unsigned short WaitAnswerDuration;
unsigned short InterDigitPause;
unsigned short NoSignalTimeOut;
unsigned short MaxSilence;
unsigned short MaxRoarDuration;
char PlayGain;
char RecordGain;
unsigned char PlayMode;
unsigned char RecordMode;
unsigned char OffThreshold;
} typeCPB;
AnswerRe: Bit Fields Pin
Christian Graus19-Sep-06 23:19
protectorChristian Graus19-Sep-06 23:19 
QuestionSELECT * FROM DB WHERE aFIELD = Null Pin
Glen Harvy19-Sep-06 22:40
Glen Harvy19-Sep-06 22:40 
AnswerRe: SELECT * FROM DB WHERE aFIELD = Null Pin
Christian Graus19-Sep-06 22:44
protectorChristian Graus19-Sep-06 22:44 
GeneralRe: SELECT * FROM DB WHERE aFIELD = Null Pin
Glen Harvy19-Sep-06 23:34
Glen Harvy19-Sep-06 23:34 
GeneralRe: SELECT * FROM DB WHERE aFIELD = Null Pin
Christian Graus19-Sep-06 23:38
protectorChristian Graus19-Sep-06 23:38 
GeneralRe: SELECT * FROM DB WHERE aFIELD = Null Pin
Glen Harvy20-Sep-06 1:45
Glen Harvy20-Sep-06 1:45 
QuestionVisual Studio 2005 windows mobile development.. Pin
Sri harini19-Sep-06 22:31
Sri harini19-Sep-06 22:31 
QuestionExtract Text from PNG file Pin
Jatin Kakkar19-Sep-06 22:06
Jatin Kakkar19-Sep-06 22:06 
AnswerRe: Extract Text from PNG file Pin
Christian Graus19-Sep-06 22:20
protectorChristian Graus19-Sep-06 22:20 
GeneralRe: Extract Text from PNG file Pin
Jatin Kakkar19-Sep-06 22:47
Jatin Kakkar19-Sep-06 22:47 
GeneralRe: Extract Text from PNG file Pin
Christian Graus19-Sep-06 23:13
protectorChristian Graus19-Sep-06 23:13 
GeneralRe: Extract Text from PNG file Pin
Jatin Kakkar19-Sep-06 23:58
Jatin Kakkar19-Sep-06 23:58 
GeneralRe: Extract Text from PNG file Pin
Christian Graus20-Sep-06 0:06
protectorChristian Graus20-Sep-06 0:06 
GeneralRe: Extract Text from PNG file Pin
Jatin Kakkar19-Sep-06 22:58
Jatin Kakkar19-Sep-06 22:58 
AnswerRe: Extract Text from PNG file Pin
S. Senthil Kumar19-Sep-06 22:46
S. Senthil Kumar19-Sep-06 22:46 
Questionpolyfit in matlab building for .net Pin
Haoman1719-Sep-06 21:55
Haoman1719-Sep-06 21:55 
QuestionGridview Binding Pin
Brendan Vogt19-Sep-06 21:43
Brendan Vogt19-Sep-06 21:43 
QuestionHow to schedule windows service in c#? Pin
Rajesh_K_Sharma19-Sep-06 21:31
Rajesh_K_Sharma19-Sep-06 21:31 
AnswerRe: How to schedule windows service in c#? Pin
Rajesh_K_Sharma19-Sep-06 22:54
Rajesh_K_Sharma19-Sep-06 22:54 
GeneralRe: How to schedule windows service in c#? Pin
mav.northwind20-Sep-06 1:00
mav.northwind20-Sep-06 1:00 
Questionhow to calculate with cells Pin
faladrim19-Sep-06 20:57
faladrim19-Sep-06 20:57 
QuestionLooking for some guide for bluetooth programming Pin
Dsypher19-Sep-06 20:39
Dsypher19-Sep-06 20:39 
Questioncomma delimited text file Pin
minniemooo19-Sep-06 20:36
minniemooo19-Sep-06 20:36 
AnswerRe: comma delimited text file Pin
Christian Graus19-Sep-06 20:45
protectorChristian Graus19-Sep-06 20:45 

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.