On Fri, Mar 08, 2002 at 10:15:15AM -0800, DL wrote: > No, not the code after it. Its the DmOpenDatabase. The call stack looks > like: > > DmOpenDatabase > DmOpenDBNoOverlay > MemHandleLock > PrvHandleCheck > PrvHandleCheck > ErrDisplayFileLineMsg > > Just for fun, I create an entire new application using Metrowerks > stationary. The only lines added to the project were to MainFormInit, as > shown below: > > Err err = DmCreateDatabase(0, "Test", 'Test', 'data', false); > UInt16 id = DmFindDatabase(0, "Test"); > DmOpenRef ref; > if (id != 0) > ref = DmOpenDatabase(0, id, dmModeReadWrite) >
DmFindDatabase returns a LocalID, which is a typedef'd UInt32. UInt16 isn't enough. scott -- ------------------------------------------------------------------------ scott [EMAIL PROTECTED] ------------------------------------------------------------------------ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
