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

Managed C++/CLI

 
AnswerRe: Embedded null characters in record Pin
Paul Conrad21-Jul-07 18:53
professionalPaul Conrad21-Jul-07 18:53 
GeneralRe: Embedded null characters in record Pin
BuckBrown23-Jul-07 12:09
BuckBrown23-Jul-07 12:09 
GeneralRe: Embedded null characters in record Pin
Paul Conrad23-Jul-07 12:13
professionalPaul Conrad23-Jul-07 12:13 
Questionglobale vairable for two diffrente methode Pin
abbd16-Jul-07 5:54
abbd16-Jul-07 5:54 
AnswerRe: globale vairable for two diffrente methode Pin
Mark Salsbery16-Jul-07 7:02
Mark Salsbery16-Jul-07 7:02 
QuestionHow to overload "=" operator in a class? Pin
ShadowBoi15-Jul-07 17:59
ShadowBoi15-Jul-07 17:59 
AnswerRe: How to overload "=" operator in a class? Pin
Mark Salsbery16-Jul-07 7:16
Mark Salsbery16-Jul-07 7:16 
QuestionlistView c++ cli Pin
abbd15-Jul-07 8:42
abbd15-Jul-07 8:42 
hi;

i would add in listView, for this i need to declare an array of string:

String *subItems[] = new String*[10];<br />
subItems[4]="1";<br />
subItems[2]="2";<br />
subItems[3]="3";<br />
subItems[1]="4";<br />
subItems[5]="5";<br />
<br />
<br />
ListViewItem* itm = new ListViewItem(subItems);<br />
listView1->Items->Add(itm);


but it didn't work,
i try for :

<br />
cli::array<String ^, 1> ^ tabChaine = gcnew cli::array<String ^>(3);<br />
tabChaine[0] = "Element 1";<br />
tabChaine[1] = "Element 2";<br />
tabChaine[2] = "Element 3";<br />
<br />
this->listView1->Items->Add(tabChaine);

=> there are error :Error cannot convert parameter 1 from 'cli::array<type,dimension> ^' to 'System::String ^'


Thank you verry mutch
AnswerRe: listView c++ cli [modified] Pin
Mark Salsbery15-Jul-07 10:01
Mark Salsbery15-Jul-07 10:01 
AnswerRe: listView c++ cli Pin
George L. Jackson15-Jul-07 15:46
George L. Jackson15-Jul-07 15:46 
GeneralRe: listView c++ cli Pin
Mark Salsbery16-Jul-07 7:18
Mark Salsbery16-Jul-07 7:18 
GeneralRe: listView c++ cli Pin
George L. Jackson17-Jul-07 11:44
George L. Jackson17-Jul-07 11:44 
GeneralRe: listView c++ cli Pin
Mark Salsbery17-Jul-07 13:12
Mark Salsbery17-Jul-07 13:12 
QuestionDeclaration of global variables Pin
abbd14-Jul-07 14:02
abbd14-Jul-07 14:02 
AnswerRe: Declaration of global variables Pin
Mark Salsbery14-Jul-07 16:52
Mark Salsbery14-Jul-07 16:52 
QuestionRe: Declaration of global variables Pin
abbd15-Jul-07 1:10
abbd15-Jul-07 1:10 
AnswerRe: Declaration of global variables Pin
Mark Salsbery15-Jul-07 6:26
Mark Salsbery15-Jul-07 6:26 
QuestionRe: Declaration of global variables Pin
abbd15-Jul-07 7:45
abbd15-Jul-07 7:45 
AnswerRe: Declaration of global variables Pin
Christian Graus15-Jul-07 7:49
protectorChristian Graus15-Jul-07 7:49 
QuestionRe: Declaration of global variables Pin
Mark Salsbery15-Jul-07 8:22
Mark Salsbery15-Jul-07 8:22 
QuestionDelegate (assocoation function) Pin
abbd14-Jul-07 8:43
abbd14-Jul-07 8:43 
AnswerRe: Delegate (assocoation function) Pin
Mark Salsbery14-Jul-07 11:59
Mark Salsbery14-Jul-07 11:59 
QuestionWhen is copy constructor must in a class? Pin
Karismatic14-Jul-07 0:09
Karismatic14-Jul-07 0:09 
AnswerRe: When is copy constructor must in a class? Pin
Mark Salsbery14-Jul-07 7:54
Mark Salsbery14-Jul-07 7:54 
QuestionOnComm Events in MSCOMM OCX control Pin
AmarjeetSinghMatharu13-Jul-07 18:39
AmarjeetSinghMatharu13-Jul-07 18:39 

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.