Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
Questionis it xml technology Pin
Mohamed El-Wehishy18-Sep-09 15:24
Mohamed El-Wehishy18-Sep-09 15:24 
AnswerRe: is it xml technology Pin
Luc Pattyn18-Sep-09 15:28
sitebuilderLuc Pattyn18-Sep-09 15:28 
AnswerRe: is it xml technology Pin
Mohamed El-Wehishy18-Sep-09 15:40
Mohamed El-Wehishy18-Sep-09 15:40 
QuestionFilterSendMessage - talking to a MiniFilter driver Pin
Søren Staun Jørgensen18-Sep-09 11:32
Søren Staun Jørgensen18-Sep-09 11:32 
AnswerRe: FilterSendMessage - talking to a MiniFilter driver Pin
Søren Staun Jørgensen18-Sep-09 11:45
Søren Staun Jørgensen18-Sep-09 11:45 
Questionunmanaged code data type equivalents in c# Pin
akhanal18-Sep-09 11:00
akhanal18-Sep-09 11:00 
AnswerRe: unmanaged code data type equivalents in c# Pin
Christian Graus18-Sep-09 11:39
protectorChristian Graus18-Sep-09 11:39 
GeneralRe: unmanaged code data type equivalents in c# Pin
Luc Pattyn18-Sep-09 11:47
sitebuilderLuc Pattyn18-Sep-09 11:47 
I tend to disagree somewhat. For value types a single indirection can easily be accomplished using the ref keyword; I do use IntPtr for reference types that either got fixed or GCHandle-pinned (with the exception for strings).

Here is a working example:
[DllImport("kernel32.dll")]
public static extern int GetDiskFreeSpaceEx(string rootPathName,
    ref long lpFreeBytesAvailable, ref long lpTotalNumberOfBytes,
    ref long lpTotalNumberOfFreeBytes);


Smile | :)

Luc Pattyn

Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.

Local announcement (Antwerp region): Lange Wapper? Neen!


GeneralRe: unmanaged code data type equivalents in c# Pin
Christian Graus18-Sep-09 12:16
protectorChristian Graus18-Sep-09 12:16 
GeneralRe: unmanaged code data type equivalents in c# Pin
Matt Meyer18-Sep-09 12:21
Matt Meyer18-Sep-09 12:21 
GeneralRe: unmanaged code data type equivalents in c# Pin
Luc Pattyn18-Sep-09 12:32
sitebuilderLuc Pattyn18-Sep-09 12:32 
GeneralRe: unmanaged code data type equivalents in c# Pin
akhanal19-Sep-09 6:44
akhanal19-Sep-09 6:44 
QuestionHelp with getting data from web service into a named pipe stream Pin
AndyASPVB18-Sep-09 10:20
AndyASPVB18-Sep-09 10:20 
QuestionDoes destination PC need installing Crystal Report ? Pin
Mohammad Dayyan18-Sep-09 10:01
Mohammad Dayyan18-Sep-09 10:01 
QuestionWork on a new thread locks the GUI Pin
SimpleData18-Sep-09 9:23
SimpleData18-Sep-09 9:23 
AnswerRe: Work on a new thread locks the GUI Pin
Luc Pattyn18-Sep-09 9:48
sitebuilderLuc Pattyn18-Sep-09 9:48 
GeneralRe: Work on a new thread locks the GUI Pin
Manas Bhardwaj18-Sep-09 9:52
professionalManas Bhardwaj18-Sep-09 9:52 
GeneralRe: Work on a new thread locks the GUI Pin
SimpleData18-Sep-09 10:00
SimpleData18-Sep-09 10:00 
GeneralRe: Work on a new thread locks the GUI Pin
Luc Pattyn18-Sep-09 10:03
sitebuilderLuc Pattyn18-Sep-09 10:03 
GeneralRe: Work on a new thread locks the GUI Pin
SimpleData18-Sep-09 10:06
SimpleData18-Sep-09 10:06 
GeneralRe: Work on a new thread locks the GUI Pin
SimpleData18-Sep-09 10:20
SimpleData18-Sep-09 10:20 
AnswerRe: Work on a new thread locks the GUI Pin
Manas Bhardwaj18-Sep-09 9:50
professionalManas Bhardwaj18-Sep-09 9:50 
GeneralRe: Work on a new thread locks the GUI Pin
SimpleData18-Sep-09 10:00
SimpleData18-Sep-09 10:00 
GeneralRe: Work on a new thread locks the GUI Pin
Manas Bhardwaj18-Sep-09 10:07
professionalManas Bhardwaj18-Sep-09 10:07 
GeneralRe: Work on a new thread locks the GUI Pin
Luc Pattyn18-Sep-09 10:03
sitebuilderLuc Pattyn18-Sep-09 10:03 

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.