Click here to Skip to main content
15,893,190 members
Home / Discussions / C#
   

C#

 
AnswerRe: Emulate a helpbutton with a toolstripbutton c# Pin
Ravi Bhavnani14-Jul-11 12:01
professionalRavi Bhavnani14-Jul-11 12:01 
QuestionManaging windows updates (WUApilib) Pin
Jacob D Dixon13-Jul-11 4:32
Jacob D Dixon13-Jul-11 4:32 
AnswerRe: Managing windows updates (WUApilib) Pin
Not Active13-Jul-11 5:26
mentorNot Active13-Jul-11 5:26 
AnswerRe: Managing windows updates (WUApilib) Pin
Dan Mos13-Jul-11 6:51
Dan Mos13-Jul-11 6:51 
GeneralRe: Managing windows updates (WUApilib) Pin
Jacob D Dixon13-Jul-11 10:11
Jacob D Dixon13-Jul-11 10:11 
AnswerRe: Managing windows updates (WUApilib) [modified] Pin
Jacob D Dixon13-Jul-11 14:47
Jacob D Dixon13-Jul-11 14:47 
GeneralRe: Managing windows updates (WUApilib) Pin
Dan Mos13-Jul-11 21:16
Dan Mos13-Jul-11 21:16 
Questionalternatives of macros in c# Pin
aeman13-Jul-11 2:22
aeman13-Jul-11 2:22 
Hi,
I have C program in which macros are defined as:


#define PORT1 0x378 //basic port address, check this setting in bios
#define DataPort PORT1
#define ControlPort PORT1+2
#define StatusPort PORT1+1

#define _BV(a) (1<<a)

As macros cannot be defined in C# so how can i write these and assign values in c# without making class?? I n c# macros are just with if else condition, declartion and assignment of values cannot be done.I sahll be thankful if any one can help
AnswerRe: alternatives of macros in c# Pin
BobJanova13-Jul-11 2:28
BobJanova13-Jul-11 2:28 
AnswerRe: alternatives of macros in c# Pin
PIEBALDconsult13-Jul-11 2:46
mvePIEBALDconsult13-Jul-11 2:46 
AnswerRe: alternatives of macros in c# Pin
Shameel13-Jul-11 3:07
professionalShameel13-Jul-11 3:07 
GeneralRe: alternatives of macros in c# Pin
BobJanova13-Jul-11 4:06
BobJanova13-Jul-11 4:06 
GeneralRe: alternatives of macros in c# Pin
Shameel13-Jul-11 4:47
professionalShameel13-Jul-11 4:47 
AnswerRe: alternatives of macros in c# Pin
jschell13-Jul-11 9:13
jschell13-Jul-11 9:13 
AnswerRe: alternatives of macros in c# Pin
PIEBALDconsult19-Jul-11 14:40
mvePIEBALDconsult19-Jul-11 14:40 
QuestionUsing C++ Code in C# Project/Solution? Pin
AmbiguousName12-Jul-11 21:14
AmbiguousName12-Jul-11 21:14 
AnswerRe: Using C++ Code in C# Project/Solution? [modified] Pin
Pete O'Hanlon12-Jul-11 23:10
mvePete O'Hanlon12-Jul-11 23:10 
AnswerRe: Using C++ Code in C# Project/Solution? PinPopular
Shameel12-Jul-11 23:38
professionalShameel12-Jul-11 23:38 
GeneralRe: Using C++ Code in C# Project/Solution? Pin
Pete O'Hanlon12-Jul-11 23:43
mvePete O'Hanlon12-Jul-11 23:43 
GeneralRe: Using C++ Code in C# Project/Solution? Pin
Shameel13-Jul-11 2:20
professionalShameel13-Jul-11 2:20 
GeneralRe: Using C++ Code in C# Project/Solution? Pin
BobJanova13-Jul-11 0:11
BobJanova13-Jul-11 0:11 
GeneralRe: Using C++ Code in C# Project/Solution? Pin
Shameel13-Jul-11 2:21
professionalShameel13-Jul-11 2:21 
GeneralRe: Using C++ Code in C# Project/Solution? Pin
Manfred Rudolf Bihy13-Jul-11 0:40
professionalManfred Rudolf Bihy13-Jul-11 0:40 
GeneralRe: Using C++ Code in C# Project/Solution? Pin
Shameel13-Jul-11 2:21
professionalShameel13-Jul-11 2:21 
AnswerRe: Using C++ Code in C# Project/Solution? Pin
jschell13-Jul-11 9:16
jschell13-Jul-11 9:16 

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.