Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: Prefixing Classes and Interfaces Pin
James T. Johnson19-Apr-03 13:00
James T. Johnson19-Apr-03 13:00 
GeneralRe: Prefixing Classes and Interfaces Pin
J. Dunlap19-Apr-03 14:04
J. Dunlap19-Apr-03 14:04 
GeneralRe: Prefixing Classes and Interfaces Pin
Arun Bhalla19-Apr-03 13:32
Arun Bhalla19-Apr-03 13:32 
GeneralRe: Prefixing Classes and Interfaces Pin
J. Dunlap19-Apr-03 14:02
J. Dunlap19-Apr-03 14:02 
GeneralWrappers for P/Invoke Pin
Alex Korchemniy19-Apr-03 8:27
Alex Korchemniy19-Apr-03 8:27 
GeneralRe: Wrappers for P/Invoke Pin
Stephane Rodriguez.19-Apr-03 9:13
Stephane Rodriguez.19-Apr-03 9:13 
GeneralRe: Wrappers for P/Invoke Pin
Alex Korchemniy19-Apr-03 15:34
Alex Korchemniy19-Apr-03 15:34 
GeneralRe: Wrappers for P/Invoke Pin
Stephane Rodriguez.19-Apr-03 20:58
Stephane Rodriguez.19-Apr-03 20:58 
AK wrote:
It shouldn't be that hard to take a list of exports and make the p/invoke code.

I disagree. Suppose one of C/C++ parameters is LPSTR. How does the converter know that's an input parameter (C# string), or output parameter (C# out string). Another example, many functions in the WIN32 API use two parameters to allow to pass a fix-size LPSTR string along with the max size of it. You know this got to be translated using C# stringbuilder. Again how does the converter knows it ?

I could go on for years, especially if you get me started on marshaling issues, which add noise to it.

The only thing I see is the equivalent of the WIN32 API viewer, that tiny tool provided by MS in their site and which allows to interactively browse the WIN32API.txt file. May be someone is bold enough to write a WIN32API.csharp.txt will all premarshaled stuff in it. Here is an entry point[^].
QuestionHwo to use SecondaryBuffer to play sound through Buffer? Pin
JmmJ19-Apr-03 1:02
JmmJ19-Apr-03 1:02 
AnswerRe: Hwo to use SecondaryBuffer to play sound through Buffer? Pin
leppie19-Apr-03 5:22
leppie19-Apr-03 5:22 
GeneralRe: Hwo to use SecondaryBuffer to play sound through Buffer? Pin
Stephane Rodriguez.19-Apr-03 9:06
Stephane Rodriguez.19-Apr-03 9:06 
GeneralRe: Hwo to use SecondaryBuffer to play sound through Buffer? Pin
leppie19-Apr-03 9:53
leppie19-Apr-03 9:53 
GeneralRe: Hwo to use SecondaryBuffer to play sound through Buffer? Pin
JmmJ19-Apr-03 19:05
JmmJ19-Apr-03 19:05 
QuestionHow to create browsable Help Documentation Pin
STW18-Apr-03 19:21
STW18-Apr-03 19:21 
AnswerRe: How to create browsable Help Documentation Pin
Stephane Rodriguez.18-Apr-03 20:17
Stephane Rodriguez.18-Apr-03 20:17 
AnswerRe: How to create browsable Help Documentation Pin
Don_s22-Apr-03 6:11
Don_s22-Apr-03 6:11 
GeneralDisposing of MSHTML/COM objects. Pin
Arun Bhalla18-Apr-03 16:40
Arun Bhalla18-Apr-03 16:40 
GeneralRe: Disposing of MSHTML/COM objects. Pin
Stephane Rodriguez.18-Apr-03 20:14
Stephane Rodriguez.18-Apr-03 20:14 
GeneralRe: Disposing of MSHTML/COM objects. Pin
Arun Bhalla19-Apr-03 9:09
Arun Bhalla19-Apr-03 9:09 
GeneralRe: Disposing of MSHTML/COM objects. Pin
Stephane Rodriguez.19-Apr-03 10:00
Stephane Rodriguez.19-Apr-03 10:00 
Questionselect entire line in RichTextBox? Pin
Nick Seng18-Apr-03 15:52
Nick Seng18-Apr-03 15:52 
AnswerRe: select entire line in RichTextBox? Pin
Arun Bhalla18-Apr-03 16:37
Arun Bhalla18-Apr-03 16:37 
AnswerRe: select entire line in RichTextBox? Pin
Stephane Rodriguez.18-Apr-03 21:12
Stephane Rodriguez.18-Apr-03 21:12 
GeneralOutlook 2000 in C# (?) Pin
ke5in18-Apr-03 14:38
ke5in18-Apr-03 14:38 
GeneralRe: Outlook 2000 in C# (?) Pin
Stephane Rodriguez.18-Apr-03 20:39
Stephane Rodriguez.18-Apr-03 20:39 

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.