Article # 650, added by Geoworks, historical record
| first | previous | index | next | last |

I get the WARNING_CONTDB_GEODE_NOT_IN_XREF_TABLE.



Q. I get this warning when I try to send an SMS message:

	WARNING_CONTDB_GEODE_NOT_IN_XREF_TABLE

A. You may get this message while sending SMS or doing some other
   operation that uses the contact database.

   It implies that if the "current" database is changed in the middle
   of the operation, you will get strange results (some of the
   operations will happen on one database and other operations will
   happen on the new database).

   On a related matter, if you want to make sure the database doesn't
   change on you, you should be using ContactGetDBHandle() and
   ContactReleaseDBHandle() calls around your entire operation. Many
   places get and release db handle multiple times in a function. It
   is necessary to get the handle at the beginning and release it at
   the end. That will guarantee that each call to GetDBHandle will
   return the same handle (which is what most people want).

   However, if you grab the handle and never release it and then
   someone changes the current db in cmgr, your app will never use the
   newly selected db (almost all apps are supposed to use the newly
   selected db).