Some text box loving help...Visual C++
This piece is just a tool to check my firmware without having to hard code in values and rebuild constantly.
I am a nub when it comes to C++ and I just a small program to test my project. What I am trying to do:
1. User puts a value into TextBox1
2. A button is pressed
3. The program takes that value and loads it into a 64 byte buffer
4. Send to USB endpoint.
What I have so far: 1, 2, 4 Missing: step 3
I just don't know how to read the value the user put in the text box. Then how do I write that value to the output buffer.
Assumption, and not checking as this is a personal debug tool, that the value in the text box is in HEX, and when I read the text box, it stays as hex, and when I write it out it stays as hex.
In I put "050612DEADBEEF" in the text box, I want to read to the output buffer OB  as:
OB = 05;
OB = 06;
OB = BE;
OB = EF;
I am using visual studio 2008 express if that matters.
Any tips are much appreciated. If I can get this to work, I can develop my FW much much faster! (Which I am also a huge nub at...)