Further to the previous post, I have discovered that different errors occur depending on which order the databases are defined (i.e. I'm creating four databases - the databases that are listed 1st and 4th can be created correctly, but the database listed 2nd has a "Hardware exception #2" error raised, whilst the 3rd databases has a "Hardware exception #3" error. Is it possible that I am not initialising the structures correctly, as all I am doing is listing them (as follows), before calling my initialisation function (as shown in the first post of this thread)?
DmOpenRef db1 = NULL; DmOpenRef db2 = NULL; DmOpenRef db3 = NULL; DmOpenRef db4 = NULL; I also define four MemHandles (1 for each database) immediately after this, but that doesn't appear to be causing any problems. Any thoughts on this would be appreciated. - Kyle "Kyle Dorian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks for your suggestions. I have had a look at the addresses and values > of the databases when opened and just prior to shutting down, and they have > the same addresses and values so it appears that no memory trampling or > similar is occurring. > > Would it be possible that there is some sort of issue with creating > databases with the same creator code? Or some sort of issue with > DmOpenDatabaseInfo that requires another function to be called before the > function can be called again on a different database? These are the only > ideas that I have at the moment that could be the cause of the problem. > > - Kyle > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
