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

C#

 
GeneralRe: ZeroMemory Pin
Nnamdi Onyeyiri3-Sep-02 9:55
Nnamdi Onyeyiri3-Sep-02 9:55 
GeneralCDR solution Pin
leppie3-Sep-02 10:34
leppie3-Sep-02 10:34 
GeneralRe: CDR solution Pin
Nnamdi Onyeyiri3-Sep-02 21:54
Nnamdi Onyeyiri3-Sep-02 21:54 
GeneralRe: CDR solution Pin
leppie3-Sep-02 22:56
leppie3-Sep-02 22:56 
GeneralRe: ZeroMemory Pin
Rüpel3-Sep-02 2:48
Rüpel3-Sep-02 2:48 
GeneralRe: ZeroMemory Pin
Paul Riley3-Sep-02 3:32
Paul Riley3-Sep-02 3:32 
GeneralRe: ZeroMemory Pin
Nick Parker4-Sep-02 9:12
protectorNick Parker4-Sep-02 9:12 
Generalaccess memory within unmanaged dll Pin
Rüpel2-Sep-02 23:45
Rüpel2-Sep-02 23:45 
hi, i'm stuck.
Frown | :(
i'm currently trying to work with an old dll and marshalling and stuff went really fine until now. there's a function in that dll declared like
int foo(void *ppMessage);

the function will do some nasty stuff, allocate local memory for the result and write the pointer to the result in the parameter. (thats why there are two ps in the name)

in c++ it would be something like
byte *result;
foo(&result);
(*result)[0] //is the first byte of the result


i have no idea, how to actually read the result using c# - does anyone know? looks somewhat unmanaged Unsure | :~

thx in advance

:wq
GeneralRe: access memory within unmanaged dll Pin
Rüpel2-Sep-02 23:55
Rüpel2-Sep-02 23:55 
GeneralRe: access memory within unmanaged dll Pin
Stephane Rodriguez.3-Sep-02 0:06
Stephane Rodriguez.3-Sep-02 0:06 
GeneralRe: access memory within unmanaged dll Pin
Rüpel3-Sep-02 0:38
Rüpel3-Sep-02 0:38 
GeneralRe: access memory within unmanaged dll Pin
leppie3-Sep-02 1:42
leppie3-Sep-02 1:42 
GeneralRe: access memory within unmanaged dll Pin
Rüpel3-Sep-02 2:39
Rüpel3-Sep-02 2:39 
GeneralRe: access memory within unmanaged dll Pin
leppie3-Sep-02 3:27
leppie3-Sep-02 3:27 
GeneralDoing programs Pin
suresh_sathya2-Sep-02 23:39
suresh_sathya2-Sep-02 23:39 
GeneralRe: Doing programs Pin
Stephane Rodriguez.2-Sep-02 23:54
Stephane Rodriguez.2-Sep-02 23:54 
QuestionHow can be only one ? Pin
candan2-Sep-02 16:42
professionalcandan2-Sep-02 16:42 
AnswerRe: How can be only one ? Pin
Stephane Rodriguez.3-Sep-02 0:11
Stephane Rodriguez.3-Sep-02 0:11 
AnswerRe: How can be only one ? Pin
Christian Graus3-Sep-02 0:46
protectorChristian Graus3-Sep-02 0:46 
AnswerRe: How can be only one ? Pin
Richard Deeming3-Sep-02 1:00
mveRichard Deeming3-Sep-02 1:00 
GeneralPassing null Pin
Nnamdi Onyeyiri2-Sep-02 8:09
Nnamdi Onyeyiri2-Sep-02 8:09 
GeneralRe: Passing null Pin
Paul Riley2-Sep-02 8:17
Paul Riley2-Sep-02 8:17 
GeneralRe: Passing null Pin
Nnamdi Onyeyiri2-Sep-02 8:25
Nnamdi Onyeyiri2-Sep-02 8:25 
GeneralRe: Passing null Pin
leppie2-Sep-02 9:17
leppie2-Sep-02 9:17 
GeneralRe: Passing null Pin
Nnamdi Onyeyiri2-Sep-02 9:23
Nnamdi Onyeyiri2-Sep-02 9:23 

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.