Click here to Skip to main content
15,886,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do convert and object to binary? Pin
AndyASPVB20-Sep-09 1:44
AndyASPVB20-Sep-09 1:44 
GeneralRe: How do convert and object to binary? Pin
OriginalGriff20-Sep-09 2:49
mveOriginalGriff20-Sep-09 2:49 
GeneralRe: How do convert and object to binary? Pin
Eddy Vluggen20-Sep-09 3:08
professionalEddy Vluggen20-Sep-09 3:08 
GeneralRe: How do convert and object to binary? Pin
AndyASPVB20-Sep-09 3:32
AndyASPVB20-Sep-09 3:32 
GeneralRe: How do convert and object to binary? Pin
Eddy Vluggen20-Sep-09 3:54
professionalEddy Vluggen20-Sep-09 3:54 
Questioncannot convert from string to System.IntPtr Pin
steve_rm20-Sep-09 0:54
steve_rm20-Sep-09 0:54 
AnswerRe: cannot convert from string to System.IntPtr Pin
Dave Kreskowiak20-Sep-09 2:19
mveDave Kreskowiak20-Sep-09 2:19 
AnswerRe: cannot convert from string to System.IntPtr Pin
Luc Pattyn20-Sep-09 2:41
sitebuilderLuc Pattyn20-Sep-09 2:41 
Hi,

when strings are input parameters and the native code is dealing with ANSI, not Unicode, then just typing the parameters as string should be sufficient.

for output parameters, you would need a StringBuilder instance with sufficient capacity; and for Unicode native code, you would have to add "CharSet=CharSet.Unicode" to your DllImport.

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!


QuestionHow to start working on Crystal Report? Pin
CoderForEver19-Sep-09 23:48
CoderForEver19-Sep-09 23:48 
AnswerRe: How to start working on Crystal Report? Pin
Nagy Vilmos20-Sep-09 0:34
professionalNagy Vilmos20-Sep-09 0:34 
GeneralRe: How to start working on Crystal Report? Pin
CoderForEver20-Sep-09 0:47
CoderForEver20-Sep-09 0:47 
GeneralRe: How to start working on Crystal Report? Pin
Nagy Vilmos20-Sep-09 0:52
professionalNagy Vilmos20-Sep-09 0:52 
QuestionQuestion about AutoResetEvent Pin
Xmen Real 19-Sep-09 22:37
professional Xmen Real 19-Sep-09 22:37 
AnswerRe: Question about AutoResetEvent Pin
Nicholas Butler20-Sep-09 0:42
sitebuilderNicholas Butler20-Sep-09 0:42 
GeneralRe: Question about AutoResetEvent Pin
Xmen Real 20-Sep-09 6:45
professional Xmen Real 20-Sep-09 6:45 
QuestionTransparency on moving controls? Pin
Sindicoro19-Sep-09 20:09
Sindicoro19-Sep-09 20:09 
AnswerRe: Transparency on moving controls? Pin
Henry Minute19-Sep-09 20:57
Henry Minute19-Sep-09 20:57 
QuestionHelp with passing an array to a method Pin
Ceceily19-Sep-09 18:01
Ceceily19-Sep-09 18:01 
AnswerRe: Help with passing an array to a method Pin
Luc Pattyn19-Sep-09 18:13
sitebuilderLuc Pattyn19-Sep-09 18:13 
GeneralRe: Help with passing an array to a method Pin
Ceceily19-Sep-09 18:32
Ceceily19-Sep-09 18:32 
GeneralRe: Help with passing an array to a method Pin
Ceceily19-Sep-09 19:18
Ceceily19-Sep-09 19:18 
Questionretreiving values from datatable Pin
Rabia_Arif19-Sep-09 17:53
Rabia_Arif19-Sep-09 17:53 
AnswerRe: retreiving values from datatable Pin
Henry Minute19-Sep-09 21:15
Henry Minute19-Sep-09 21:15 
GeneralRe: retreiving values from datatable Pin
Rabia_Arif21-Sep-09 21:09
Rabia_Arif21-Sep-09 21:09 
AnswerRe: retreiving values from datatable Pin
Patrik.karlin20-Sep-09 0:42
Patrik.karlin20-Sep-09 0:42 

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.