Re: corrupted data
Ed Keith <[email protected]> Wed, 12 Mar 2008 20:48:38 -0700 (PDT)
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <[email protected]> |
--- Jean-Claude Wippler <[email protected]> wrote: > > On 12 Mar 2008, at 21:28, EdK wrote: > > I'm trying to use metakit with mingw C++ under > windows XP, but my data > > seems to be getting curupted. this is my code: > [...] > > + result_field_name + " :D]").c_str()); > > The space before the colon is the problem, I > suspect. > (And yes, that's an ugly weakness of MK, I agree > ...) > I removed the space, and I'm still having the same problem. To give more details; I run the program twice, the first time I enter ID = "ab" test = 1 result = 3.1415 the second time I enter ID = "xy" test = 2 result = 2.345 I look at the database in kviewer and see two rows "ab", 1, 3.1415 "xy", 3.1415, 2.345 Not only is this not the data I enterd, but, I do not understand how 3.1415 can be stored in a property that is declared to be long. -EdK Ed Keith [email protected] Blog: edkeith.blogspot.com ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "metakit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/metakit?hl=en -~----------~----~----~----~------~----~------~--~---