Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing database with release version

Status
Not open for further replies.

Casiopea

Programmer
Jan 15, 2003
47
ES
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top