Click here to Skip to main content
15,881,248 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Array help. Pin
Dave Doknjas26-Dec-06 12:18
Dave Doknjas26-Dec-06 12:18 
GeneralRe: Array help. Pin
bsaksida26-Dec-06 21:57
bsaksida26-Dec-06 21:57 
QuestionExecute managed function from unmanaged Pin
yoti1126-Dec-06 0:02
yoti1126-Dec-06 0:02 
AnswerRe: Execute managed function from unmanaged Pin
567890123426-Dec-06 2:08
567890123426-Dec-06 2:08 
GeneralRe: Execute managed function from unmanaged Pin
yoti1126-Dec-06 3:08
yoti1126-Dec-06 3:08 
GeneralRe: Execute managed function from unmanaged Pin
567890123426-Dec-06 3:25
567890123426-Dec-06 3:25 
GeneralRe: Execute managed function from unmanaged Pin
yoti1126-Dec-06 6:21
yoti1126-Dec-06 6:21 
Questioncalling String ^ * from C# Pin
ByStorm Software25-Dec-06 17:09
ByStorm Software25-Dec-06 17:09 
I'm sure that this is a stupid question and that I am just missing some obvious but here it goes.

I'm adding a remoting interface to an MFC service that I have. I've gotten it to compile and run with the CLI and now I'm porting the COM interface to a remoting interface.

Then I hit a problem.

I have some methods that return values as parameters..you know the old "BOOL *" and the ever popular "LPTSTR *"....anyway... in C++/CLI these get translated to Boolean * and String^ *.

the problem is...HOW in the world do I call these from C#? I know it's a reference, but c++/cli doesn't support the keyword REF and c# doesn't like things like "&".

I guess I could try to jump thru a lot of hoops and get it to work via unmanaged code, but this SEEMS like a simple syntax problem.

sorry again to bother people with this, but for the life of me...I can't find the "right" keywords to get google to show me what I need.

thanks,

Gene

AnswerRe: calling String ^ * from C# Pin
bsaksida26-Dec-06 19:47
bsaksida26-Dec-06 19:47 
GeneralRe: calling String ^ * from C# Pin
ByStorm Software27-Dec-06 4:27
ByStorm Software27-Dec-06 4:27 
GeneralRe: calling String ^ * from C# Pin
bsaksida27-Dec-06 4:35
bsaksida27-Dec-06 4:35 
GeneralRe: calling String ^ * from C# Pin
ByStorm Software27-Dec-06 4:42
ByStorm Software27-Dec-06 4:42 
GeneralRe: calling String ^ * from C# Pin
bsaksida27-Dec-06 5:40
bsaksida27-Dec-06 5:40 
GeneralRe: calling String ^ * from C# Pin
ByStorm Software27-Dec-06 6:12
ByStorm Software27-Dec-06 6:12 
GeneralRe: calling String ^ * from C# Pin
RockyMu1-Jul-22 15:01
RockyMu1-Jul-22 15:01 
Questionhandling system call result in C Pin
xface6625-Dec-06 8:08
xface6625-Dec-06 8:08 
AnswerRe: handling system call result in C Pin
xface6625-Dec-06 8:52
xface6625-Dec-06 8:52 
GeneralRe: handling system call result in C Pin
Christian Graus25-Dec-06 10:41
protectorChristian Graus25-Dec-06 10:41 
GeneralRe: handling system call result in C Pin
xface6625-Dec-06 12:36
xface6625-Dec-06 12:36 
GeneralRe: handling system call result in C Pin
John R. Shaw26-Dec-06 1:03
John R. Shaw26-Dec-06 1:03 
GeneralRe: handling system call result in C Pin
Christian Graus26-Dec-06 9:27
protectorChristian Graus26-Dec-06 9:27 
Questionmupad problem Pin
vasfar24-Dec-06 10:34
vasfar24-Dec-06 10:34 
AnswerRe: mupad problem Pin
Christian Graus25-Dec-06 10:40
protectorChristian Graus25-Dec-06 10:40 
GeneralRe: mupad problem Pin
Paul Conrad25-Dec-06 17:49
professionalPaul Conrad25-Dec-06 17:49 
GeneralRe: mupad problem Pin
bsaksida26-Dec-06 10:46
bsaksida26-Dec-06 10:46 

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.