 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Pantaleon Newbie cheater
Reputation: 0
Joined: 08 Mar 2009 Posts: 17 Location: New York
|
Posted: Thu Mar 26, 2009 10:56 pm Post subject: From Visual Basic To Visual C++ 2008 |
|
|
Hello, someone knows how to perform an addition hex in C++ 2008?
how the code with the following descriptions:
I have a TextBox, to click on it, review the information previously copied to the clipboard, the information must be copied before a hexadecimal number, click in the textbox to the review if there is a hexadecimal number to the clipboard, if not so give an error saying "We are not just hitting hexadecimal numbers, try again", otherwise hit the numbers in the TextBox.
after being beaten up, double click to make the operation as mentioned, will:
take the numbers stuck in TextBox1 and added to a value that will be placed in the code.
I have here an example in visual basic, I hope someone can tell me how to do something similar in C++ 2008:
| Code: | | Text1.Text = HEX(cdbl("&H" & Text2.Text) + cdbl("&H2F4D")) |
So it works perfectly in Visual Basic, but not in C++, anyone know how to do something similar in Visual C++ 2008? thanks in advance, see you soon.
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Mar 27, 2009 9:43 am Post subject: |
|
|
1. I hope you're not trying to use managed C++, it is not supported any more and it is shitty. Use C# or regular C++.
2. Assuming you're using .NET, use the Convert class. Convert.ToString lets you specify the base (ie 16 for hex)
|
|
| Back to top |
|
 |
Pantaleon Newbie cheater
Reputation: 0
Joined: 08 Mar 2009 Posts: 17 Location: New York
|
Posted: Fri Mar 27, 2009 10:41 am Post subject: Okay Thanks |
|
|
| slovach wrote: | 1. I hope you're not trying to use managed C++, it is not supported any more and it is shitty. Use C# or regular C++.
2. Assuming you're using .NET, use the Convert class. Convert.ToString lets you specify the base (ie 16 for hex) |
Yes, I am using. NET Visual C++ 2008 is .NET, either take part of what I said, look for information on google, thanks for your attention ...
any questions they know will do here. Thanks bye.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|