Click here to Skip to main content
15,889,808 members
Home / Discussions / C#
   

C#

 
GeneralRe: GDI+ flicker question Pin
James T. Johnson2-Apr-03 9:41
James T. Johnson2-Apr-03 9:41 
GeneralRe: GDI+ flicker question Pin
Jon Newman2-Apr-03 9:49
Jon Newman2-Apr-03 9:49 
GeneralPressing DELETE button in DataGrid Pin
Mazdak2-Apr-03 7:45
Mazdak2-Apr-03 7:45 
GeneralRe: Pressing DELETE button in DataGrid Pin
Paul Riley2-Apr-03 7:50
Paul Riley2-Apr-03 7:50 
GeneralRe: Pressing DELETE button in DataGrid Pin
Mazdak2-Apr-03 7:53
Mazdak2-Apr-03 7:53 
GeneralRe: Pressing DELETE button in DataGrid Pin
Mazdak2-Apr-03 9:06
Mazdak2-Apr-03 9:06 
GeneralRe: Pressing DELETE button in DataGrid Pin
Mazdak2-Apr-03 9:34
Mazdak2-Apr-03 9:34 
QuestionC# Bitwise Operators? Pin
eidylon2-Apr-03 5:00
eidylon2-Apr-03 5:00 
Okay, im really a bit baffled here. I am putting together some code from two different samples on here, to make a WinZip-compatible CRC32 ColumnHandler for explorer, to make my work go easier.

The code uses a bit-field for a WinAPI call. Now, i was always taught that if you have a bit-field, and you want to set one of the flags in it on, then you OR them together, and if you want to check if a field has a particular flag on, then you AND them.

So i tried this, and it crashed my devenv process. So, just for kicks, i tried reversing them, and low-and-behold, it works!
C#:OR apparently is equal to the rest of the world's, AND.
C#:AND apparently is equal to the rest of the world's, OR.
at least bitwise.

Did Microsoft actually get so bold as to decide to rewrite the laws of logic? OMG | :OMG: This is absolutely bizarre.

AnswerRe: C# Bitwise Operators? Pin
James T. Johnson2-Apr-03 5:51
James T. Johnson2-Apr-03 5:51 
GeneralRe: C# Bitwise Operators? Pin
eidylon2-Apr-03 7:49
eidylon2-Apr-03 7:49 
GeneralRe: C# Bitwise Operators? Pin
James T. Johnson2-Apr-03 8:45
James T. Johnson2-Apr-03 8:45 
GeneralRe: C# Bitwise Operators? Pin
eidylon2-Apr-03 8:54
eidylon2-Apr-03 8:54 
GeneralRe: C# Bitwise Operators? Pin
James T. Johnson2-Apr-03 9:03
James T. Johnson2-Apr-03 9:03 
GeneralRe: C# Bitwise Operators? Pin
eidylon2-Apr-03 9:08
eidylon2-Apr-03 9:08 
GeneralRe: C# Bitwise Operators? Pin
Roger Alsing2-Apr-03 22:09
Roger Alsing2-Apr-03 22:09 
Generaljavascript not working in webbrowswer control Pin
monrobot132-Apr-03 4:22
monrobot132-Apr-03 4:22 
GeneralRe: javascript not working in webbrowswer control Pin
Stephane Rodriguez.2-Apr-03 19:40
Stephane Rodriguez.2-Apr-03 19:40 
GeneralRe: javascript not working in webbrowswer control Pin
monrobot133-Apr-03 3:12
monrobot133-Apr-03 3:12 
GeneralRe: javascript not working in webbrowswer control Pin
Stephane Rodriguez.3-Apr-03 3:19
Stephane Rodriguez.3-Apr-03 3:19 
GeneralC# Dynamic Assembly Pin
anders2-Apr-03 4:15
anders2-Apr-03 4:15 
GeneralRe: C# Dynamic Assembly Pin
Oleksandr Kucherenko3-Apr-03 5:01
Oleksandr Kucherenko3-Apr-03 5:01 
Question.net Attributes? Pin
Roger Alsing2-Apr-03 0:54
Roger Alsing2-Apr-03 0:54 
AnswerRe: .net Attributes? Pin
Nick Parker2-Apr-03 4:42
protectorNick Parker2-Apr-03 4:42 
GeneralActive Directory - Users or whatever Pin
Velichko Sarev2-Apr-03 0:02
Velichko Sarev2-Apr-03 0:02 
GeneralRe: Active Directory - Users or whatever Pin
Mazdak2-Apr-03 7:49
Mazdak2-Apr-03 7:49 

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.