Click here to Skip to main content
15,907,000 members
Home / Discussions / C#
   

C#

 
GeneralFile I/O fun with binary files Pin
BrewCrew2-Jul-03 5:27
BrewCrew2-Jul-03 5:27 
GeneralRe: File I/O fun with binary files Pin
BrewCrew7-Jul-03 4:02
BrewCrew7-Jul-03 4:02 
GeneralAccessing an inbox in the SMTP service Pin
Johan Danforth2-Jul-03 5:11
Johan Danforth2-Jul-03 5:11 
GeneralRe: Accessing an inbox in the SMTP service Pin
lykac2-Jul-03 12:37
lykac2-Jul-03 12:37 
GeneralRe: Accessing an inbox in the SMTP service Pin
Johan Danforth2-Jul-03 20:33
Johan Danforth2-Jul-03 20:33 
QuestionHow to tell which row of DataGrid has been selected? Pin
Khang Nguyen2-Jul-03 4:38
Khang Nguyen2-Jul-03 4:38 
QuestionHOW to set html element's VALUE. Pin
Asim N.2-Jul-03 0:47
Asim N.2-Jul-03 0:47 
AnswerRe: HOW to set html element's VALUE. Pin
dynamic2-Jul-03 1:46
dynamic2-Jul-03 1:46 
GeneralProblem with DllImport Pin
jtmtv181-Jul-03 19:52
jtmtv181-Jul-03 19:52 
GeneralRe: Problem with DllImport Pin
Nathan Blomquist2-Jul-03 5:01
Nathan Blomquist2-Jul-03 5:01 
GeneralACCESSING IIS Pin
Asim N.1-Jul-03 19:39
Asim N.1-Jul-03 19:39 
GeneralRe: ACCESSING IIS Pin
Matt Newman2-Jul-03 5:55
Matt Newman2-Jul-03 5:55 
Generaladding image in SubItems of ListView Pin
azusakt1-Jul-03 16:49
azusakt1-Jul-03 16:49 
QuestionC# equivalent of CMap? Pin
mcgahanfl1-Jul-03 13:36
mcgahanfl1-Jul-03 13:36 
AnswerRe: C# equivalent of CMap? Pin
Wesner Moise1-Jul-03 14:00
Wesner Moise1-Jul-03 14:00 
QuestionHow to set column widths of DataGrid, Anyone? Pin
Khang Nguyen1-Jul-03 13:28
Khang Nguyen1-Jul-03 13:28 
AnswerRe: How to set column widths of DataGrid, Anyone? Pin
Anonymous2-Jul-03 9:09
Anonymous2-Jul-03 9:09 
GeneralRe: How to set column widths of DataGrid, Anyone? Pin
Khang Nguyen2-Jul-03 12:24
Khang Nguyen2-Jul-03 12:24 
GeneralDesignerSerializationAttribute Pin
Kastro1-Jul-03 9:21
Kastro1-Jul-03 9:21 
GeneralRe: DesignerSerializationAttribute Pin
leppie1-Jul-03 13:05
leppie1-Jul-03 13:05 
GeneralRe: DesignerSerializationAttribute Pin
Kastro2-Jul-03 8:58
Kastro2-Jul-03 8:58 
GeneralSome C++ conversions over C#? Need help! Pin
Member 160351-Jul-03 7:54
Member 160351-Jul-03 7:54 
GeneralRe: Some C++ conversions over C#? Need help! Pin
jspano2-Jul-03 14:54
jspano2-Jul-03 14:54 
Well, See if any of this helps.

1. It depends on what you mean by this question. Do you mean how do I write a function in C#, Or how do I export functions from C#? You can't export functions. You either set a reference to the dll from another .net project or you register it for COM interop and then you can get to it from any language that supports COM.

If you mean the function question then you just have one dec for it. No headers.
<br />
public int MyFunct()<br />
{<br />
    return 1;<br />
}<br />


The whole function is declared and programed in one file.

2. Delegates are a little hard to get into in this thread. Many callbacks like you posted arn't needed anymore.

3. Don't know. I do know that direct x 9 has a .net wrapper around all the classes it has. Don't know how good it is as I have never used it.

4. Dll projects do all that for you. Exe projects still have a main function.

5. C# Eliminates #define. They decided it was not worth the headache it caused. Only have const now. The only thing #define is used for in C# is for true/false stuff. Like #define Debug. They you can use #if Debug etc.

6. I'm not sure. What is it used for? Most of the time you don't need anything like that. The framework will do everything for you. What are you trying to do?

7. I don't know what the direct equivalent is, but the framework is HUGE. There is a very very good chance that there is a class in there somewhere that does what you need it to if you can find it.
GeneralRe: Some C++ conversions over C#? Need help! Pin
Nick Seng2-Jul-03 15:45
Nick Seng2-Jul-03 15:45 
GeneralEffective Localization & Management of String Resources Pin
Sin Jeong-hun1-Jul-03 7:46
Sin Jeong-hun1-Jul-03 7:46 

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.