This is ultimately not what I want to do. I want to type floating point values into the text field then use them in some calculation and output a result. Simple. Problem is I cant seem to get what I type into the text field as a double or any other basic data type. The functions above return none of those and the variable "strbuffer" is an LPWSTR pointer defined as TCHAR strbuffer[30] so I cannot use it as a string to convert into a double.
How do I go about storing my text field input into a double as in: double my_text_input = ~numbers I typed into the text field~