Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: question on reference types Pin
Anonymous26-Aug-05 20:32
Anonymous26-Aug-05 20:32 
AnswerRe: question on reference types Pin
Guffa26-Aug-05 21:02
Guffa26-Aug-05 21:02 
GeneralRe: question on reference types Pin
Anonymous26-Aug-05 21:40
Anonymous26-Aug-05 21:40 
GeneralRe: question on reference types Pin
Matt Gerrans26-Aug-05 21:47
Matt Gerrans26-Aug-05 21:47 
QuestionDLLs in C# Application Pin
amitmohanty26-Aug-05 13:50
amitmohanty26-Aug-05 13:50 
AnswerRe: DLLs in C# Application Pin
Super Lloyd26-Aug-05 14:06
Super Lloyd26-Aug-05 14:06 
GeneralRe: DLLs in C# Application Pin
amitmohanty26-Aug-05 14:21
amitmohanty26-Aug-05 14:21 
GeneralRe: DLLs in C# Application Pin
Super Lloyd26-Aug-05 14:38
Super Lloyd26-Aug-05 14:38 
You should really learn to use the documentation coming with the SDK.
In the "index" side panel there is a box named "look for", just type: "interop", "COM interop" or "data marshaling" in it and you will find a wealth of information.

Alternatively, if you've got issue with the SDK documentation (strangely many .NET developer seems to ignore about its existence) you could go on MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconinteroperatingwithunmanagedcode.asp[^]

Anyway about array marshaling (let's say float[]) the documentation doesn't straightforwardly explained you wether or not the whole array is copied or not to a temporary buffer every crossing the managed/unmanaged boudary (I think some attributes control that behavior).
But always have the solution to use unsafe code & float* in C# or, as I prefer to write my wrappers now, use ManagedC++ (v2.0, meach cleaner, leaner and less ambiguous).
QuestionC# wrapper Pin
amitmohanty26-Aug-05 13:38
amitmohanty26-Aug-05 13:38 
AnswerRe: C# wrapper Pin
Super Lloyd26-Aug-05 13:55
Super Lloyd26-Aug-05 13:55 
QuestionConvert double to PointF coord?? Pin
...---...26-Aug-05 13:34
...---...26-Aug-05 13:34 
AnswerRe: Convert double to PointF coord?? Pin
Super Lloyd26-Aug-05 14:00
Super Lloyd26-Aug-05 14:00 
GeneralRe: Convert double to PointF coord?? Pin
...---...26-Aug-05 14:29
...---...26-Aug-05 14:29 
GeneralRe: Convert double to PointF coord?? Pin
Super Lloyd26-Aug-05 14:42
Super Lloyd26-Aug-05 14:42 
GeneralRe: Convert double to PointF coord?? Pin
...---...26-Aug-05 14:58
...---...26-Aug-05 14:58 
GeneralRe: Convert double to PointF coord?? Pin
Daniel Turini26-Aug-05 15:40
Daniel Turini26-Aug-05 15:40 
GeneralRe: Convert double to PointF coord?? Pin
Colin Angus Mackay26-Aug-05 20:03
Colin Angus Mackay26-Aug-05 20:03 
QuestionRegex Pin
surfman1926-Aug-05 13:07
surfman1926-Aug-05 13:07 
AnswerRe: Regex Pin
Uri Lavi26-Aug-05 23:27
Uri Lavi26-Aug-05 23:27 
GeneralRe: Regex Pin
surfman1927-Aug-05 0:04
surfman1927-Aug-05 0:04 
GeneralRe: Regex Pin
Uri Lavi27-Aug-05 1:25
Uri Lavi27-Aug-05 1:25 
GeneralRe: Regex Pin
surfman1927-Aug-05 1:50
surfman1927-Aug-05 1:50 
AnswerRe: Regex Pin
Uri Lavi27-Aug-05 2:39
Uri Lavi27-Aug-05 2:39 
GeneralRe: Regex Pin
surfman1927-Aug-05 9:25
surfman1927-Aug-05 9:25 
GeneralRe: Regex Pin
Uri Lavi27-Aug-05 10:44
Uri Lavi27-Aug-05 10:44 

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.