Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to pass .net (C#) string to unmanaged C++ dll? [modified] Pin
Luc Pattyn29-May-11 23:28
sitebuilderLuc Pattyn29-May-11 23:28 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Tesic Goran29-May-11 23:37
professionalTesic Goran29-May-11 23:37 
AnswerRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Luc Pattyn29-May-11 23:49
sitebuilderLuc Pattyn29-May-11 23:49 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? [modified] Pin
Tesic Goran30-May-11 0:00
professionalTesic Goran30-May-11 0:00 
AnswerRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Luc Pattyn30-May-11 0:22
sitebuilderLuc Pattyn30-May-11 0:22 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Tesic Goran30-May-11 0:26
professionalTesic Goran30-May-11 0:26 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Tesic Goran30-May-11 0:57
professionalTesic Goran30-May-11 0:57 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
MicroVirus30-May-11 4:24
MicroVirus30-May-11 4:24 
Please avoid using things like:
char* str = "A string literal here";

If you define it this way, it should be defined as a const char*. If it needs to be editted, define it as a char array with a large enough size.

Also, why are you calling pIDec->Decode(&k1,&k2);. Why not just pIDec->Decode(k1,k2);? And then... why are you defining Decode as a function with one parameter and yet calling it with two parameters?
AnswerRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
DaveyM6929-May-11 22:58
professionalDaveyM6929-May-11 22:58 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Tesic Goran29-May-11 23:07
professionalTesic Goran29-May-11 23:07 
QuestionDefault datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 21:32
LordZoster29-May-11 21:32 
AnswerRe: Default datetime.now in datatable and bound datagridview Pin
Andy_L_J29-May-11 21:37
Andy_L_J29-May-11 21:37 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 21:51
LordZoster29-May-11 21:51 
AnswerRe: Default datetime.now in datatable and bound datagridview Pin
Paramu197329-May-11 21:47
Paramu197329-May-11 21:47 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 22:07
LordZoster29-May-11 22:07 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
Paramu197329-May-11 22:13
Paramu197329-May-11 22:13 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 22:17
LordZoster29-May-11 22:17 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 22:37
LordZoster29-May-11 22:37 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
Andy_L_J29-May-11 22:47
Andy_L_J29-May-11 22:47 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
Paramu197329-May-11 22:41
Paramu197329-May-11 22:41 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 23:14
LordZoster29-May-11 23:14 
QuestionCurious DataTable Problem…? Pin
Paramu197329-May-11 20:49
Paramu197329-May-11 20:49 
AnswerRe: Curious DataTable Problem…? Pin
Mycroft Holmes29-May-11 23:20
professionalMycroft Holmes29-May-11 23:20 
QuestionGeneric and Type of [modified] Pin
PozzaVecia29-May-11 10:09
PozzaVecia29-May-11 10:09 
AnswerRe: Generic and Type of Pin
Mark Salsbery29-May-11 10:12
Mark Salsbery29-May-11 10:12 

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.