AngryC++ Textbox Help

Posts 1–9 of 9 · Page 1 of 1
C++ Textbox integer help
What is the cause of the problem?

try this :
this->textBox1->text = *hack1.ToString();

As your error said, you can't write a integer into a textBox, who need string.
So you must convert it to string, with .ToString()

If you want to convert a string into int, try .ToInt32()

Hope it will help you.
Sorry for my bad english
*hack is of type int and TextBox1->Text is System::String^.

Code:
*hack = int.Parse(textBox1.Text);
Quote Originally Posted by Void View Post
*hack is of type int and TextBox1->Text is System::String^.

Code:
*hack = int.Parse(textBox1.Text);
Code:
int.Parse(textBox1->Text);
int error = type name is not allowed

Help ?
Quote Originally Posted by NmDahmeT View Post
Code:
int.Parse(textBox1->Text);
int error = type name is not allowed

Help ?
Code:
Int32.Parse(textBox1->Text);
Int32::Parse Method (String)
Not Working :/

Im write dll hack.(write memory)



textBox1->Text is hack value.

sorry my english is bad.
Quote Originally Posted by NmDahmeT View Post
Not Working :/

Im write dll hack.(write memory)



textBox1->Text is hack value.

sorry my english is bad.
I understood that already.

Code:
*hack = Int32.Parse(textBox1->Text);
This should work.
Quote Originally Posted by Void View Post
I understood that already.

Code:
*hack = Int32.Parse(textBox1->Text);
This should work.
But Int32 is the name of the structure.
(not sure if serious)
I think the main issue is that you are using Microsoft's managed C++.

Why not create the hack in C++ and a frontend in C#?
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us