Hi!
I have made prooves with debug version and it reads correctly the values of the registers in the database.
But when I do it with Release version it doesn't work. It just read numbers and in that field there are no numbers they are names.
If someone is interested on the answer, I have already found the solution. The point is that on debug version, it iniatialize the variables correctly, however on release version, I must use CString terminate characters such as:
CString string1=string2 + "\0"
or if the string has to be empty, use the method of the class "string1.Empty()"; then with questions as if (!string1.IsEmpty()) it knows that is empty.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.