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

Managed C++/CLI

 
Questionquestion Pin
faradgi24-May-07 13:20
faradgi24-May-07 13:20 
AnswerRe: question Pin
Christian Graus24-May-07 20:29
protectorChristian Graus24-May-07 20:29 
AnswerRe: question Pin
Kevin McFarlane26-May-07 6:20
Kevin McFarlane26-May-07 6:20 
AnswerRe: question Pin
Hamid_RT28-May-07 7:30
Hamid_RT28-May-07 7:30 
Questiondatagridview data Pin
Xeef24-May-07 11:19
Xeef24-May-07 11:19 
AnswerRe: datagridview data Pin
teejayem24-May-07 12:59
teejayem24-May-07 12:59 
GeneralRe: datagridview data Pin
Xeef24-May-07 13:19
Xeef24-May-07 13:19 
Questionconver size_t to System::String Pin
Xeef23-May-07 8:40
Xeef23-May-07 8:40 
hi all
new here and also to c++

MeM mem=MeM()<br />
textBoxeS[0] = gcnew System::Windows::Forms::TextBox;<br />
textBoxeS[0]->Size = System::Drawing::Size( 300, 40 );     <br />
textBoxeS[0]->ReadOnly = true;      <br />
//textBoxeS[0]->Text = gcnew String(mem.X()); ????????????	  <br />
textBoxeS[0]->BackColor = SystemColors::Window;<br />
<br />
<br />
MeM::MeM(void)<br />
{	<br />
	GlobalMemoryStatus (&stat);<br />
}<br />
System::String^ MeM::X(){	<br />
		<br />
how do i cast / convert this ---->>>><br />
<br />
char *a=(char*)stat.dwTotalPhys;<br />
return gcnew String(a);  //System.ArgumentOutOfRangeExceptio <br />
<br />
//return  const_cast<System::String^>(stat.dwTotalPhys);<br />
<<<<---------- PROBLEM HERE<br />
<br />
}



other question
is there an AUTOindent function in visual C++ 2005 ?

cheers rick
AnswerRe: conver size_t to System::String Pin
led mike23-May-07 8:48
led mike23-May-07 8:48 
GeneralRe: conver size_t to System::String Pin
Xeef23-May-07 9:07
Xeef23-May-07 9:07 
AnswerRe: conver size_t to System::String Pin
Mark Salsbery23-May-07 9:02
Mark Salsbery23-May-07 9:02 
GeneralRe: conver size_t to System::String Pin
Xeef23-May-07 9:11
Xeef23-May-07 9:11 
GeneralRe: conver size_t to System::String Pin
led mike23-May-07 9:13
led mike23-May-07 9:13 
GeneralRe: conver size_t to System::String Pin
Mark Salsbery23-May-07 9:19
Mark Salsbery23-May-07 9:19 
GeneralRe: conver size_t to System::String Pin
led mike23-May-07 9:35
led mike23-May-07 9:35 
GeneralRe: conver size_t to System::String Pin
Mark Salsbery23-May-07 9:40
Mark Salsbery23-May-07 9:40 
QuestionMDI application help - multiple Cview style Pin
earlgraham23-May-07 5:28
earlgraham23-May-07 5:28 
QuestionRootnamespace in VS2005 Pin
hansipet23-May-07 3:22
hansipet23-May-07 3:22 
QuestionPointer Pin
dodoxor22-May-07 8:54
dodoxor22-May-07 8:54 
QuestionCreate video on an OpenGL window by reading memory buffers containing image frames Pin
DoctorDoctor22-May-07 7:54
DoctorDoctor22-May-07 7:54 
QuestionVerifying if one bit is set in a word value. Pin
paper6722-May-07 6:16
paper6722-May-07 6:16 
QuestionAbout help Pin
sarah_malik22-May-07 6:09
sarah_malik22-May-07 6:09 
QuestionRe: About help Pin
Mark Salsbery22-May-07 7:42
Mark Salsbery22-May-07 7:42 
GeneralRe: About help Pin
sarah_malik22-May-07 7:52
sarah_malik22-May-07 7:52 
GeneralRe: About help Pin
Mark Salsbery23-May-07 7:19
Mark Salsbery23-May-07 7:19 

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.