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

Managed C++/CLI

 
GeneralRe: Managing native struct returned from function called in managed wrapper Pin
alleyes15-Oct-09 4:47
professionalalleyes15-Oct-09 4:47 
GeneralRe: Managing native struct returned from function called in managed wrapper Pin
N a v a n e e t h15-Oct-09 16:11
N a v a n e e t h15-Oct-09 16:11 
GeneralRe: Managing native struct returned from function called in managed wrapper Pin
alleyes16-Oct-09 1:21
professionalalleyes16-Oct-09 1:21 
QuestionHow to use C++ ATL-Template class in c# Pin
Chiman19-Oct-09 10:59
Chiman19-Oct-09 10:59 
AnswerRe: How to use C++ ATL-Template class in c# Pin
N a v a n e e t h9-Oct-09 18:42
N a v a n e e t h9-Oct-09 18:42 
QuestionConvert System::String* str[] to const char* chars[] array! Pin
Cracked-Down9-Oct-09 0:34
Cracked-Down9-Oct-09 0:34 
AnswerRe: Convert System::String* str[] to const char* chars[] array! Pin
N a v a n e e t h9-Oct-09 18:50
N a v a n e e t h9-Oct-09 18:50 
GeneralRe: Convert System::String* str[] to const char* chars[] array! Pin
Cracked-Down10-Oct-09 2:06
Cracked-Down10-Oct-09 2:06 
Hey thanks for reply Navaneeth,
Got it!
I am doing something like this

char *abc[100];
for(int i   = 0; i < ss->Count; i++)
{
          abc[i] = (char*)(System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(ss[i])).ToPointer();
}


the above code is working file where ss is System::String* ss[] as function argument

I spend 2 days to get it working!!!


Now the problem is with System::Double dd[][] I want to convert it to double[][] used in Unmanaged C++

how should I use System::Double dd[][] in managed C++
I am getting this sort of error
error C2440: 'initializing' : cannot convert from 'double __gc *' to
'double'

I tried many permutation but could n0t get through!!


Navaneeth any idea how to do this conversion!


Thanks in advance!
GeneralRe: Convert System::String* str[] to const char* chars[] array! Pin
N a v a n e e t h10-Oct-09 6:10
N a v a n e e t h10-Oct-09 6:10 
GeneralRe: Convert System::String* str[] to const char* chars[] array! Pin
Cracked-Down10-Oct-09 8:23
Cracked-Down10-Oct-09 8:23 
GeneralRe: Convert System::String* str[] to const char* chars[] array! Pin
N a v a n e e t h10-Oct-09 17:58
N a v a n e e t h10-Oct-09 17:58 
GeneralRe: Convert System::String* str[] to const char* chars[] array! Pin
Cracked-Down10-Oct-09 20:40
Cracked-Down10-Oct-09 20:40 
QuestionFile handling with "fstream" Pin
Fenix27-Oct-09 23:27
Fenix27-Oct-09 23:27 
AnswerEither that or... Pin
Fenix27-Oct-09 23:57
Fenix27-Oct-09 23:57 
GeneralRe: Either that or... Pin
Richard MacCutchan8-Oct-09 2:15
mveRichard MacCutchan8-Oct-09 2:15 
GeneralRe: Either that or... Pin
Fenix28-Oct-09 4:01
Fenix28-Oct-09 4:01 
GeneralRe: Either that or... Pin
Richard MacCutchan8-Oct-09 4:13
mveRichard MacCutchan8-Oct-09 4:13 
GeneralRe: Either that or... Pin
Fenix28-Oct-09 16:24
Fenix28-Oct-09 16:24 
GeneralRe: Either that or... Pin
Fenix28-Oct-09 16:32
Fenix28-Oct-09 16:32 
GeneralRe: Either that or... Pin
Richard MacCutchan8-Oct-09 22:11
mveRichard MacCutchan8-Oct-09 22:11 
GeneralRe: Either that or... Pin
N a v a n e e t h8-Oct-09 16:54
N a v a n e e t h8-Oct-09 16:54 
GeneralRe: Either that or... Pin
Fenix29-Oct-09 14:17
Fenix29-Oct-09 14:17 
GeneralRe: Either that or... Pin
Richard MacCutchan9-Oct-09 23:24
mveRichard MacCutchan9-Oct-09 23:24 
QuestionGetting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
Cracked-Down7-Oct-09 21:27
Cracked-Down7-Oct-09 21:27 
AnswerRe: Getting "LINK : Fetal error LNK1561 : entry point must be defined" while creating managed C++ dll in VS2005 Pin
KarstenK7-Oct-09 22:21
mveKarstenK7-Oct-09 22:21 

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.