[missing-sync-palmos-dev-talk] Problems creating Palm Databases with MissingSync

Dan Fletcher dan at dogmelon.com.au
Fri Jun 3 17:35:10 PDT 2005


 
> Yes. You're closing mDbHandle that is never set. You need to do:
>
> if (syncErr == SYNCERR_NONE)
> {
> mDbHandle = createInfo.m_FileHandle;
> syncErr = [mSyncMgr closeDB:mDbHandle]; }
>
> The database is created at the time of close, but you must pass a
> valid database handle.

Nothing so easy unfortunately :( 

I actually was doing code identical to the above, I just accidentally 
removed that line when I copied and pasted the code into the email (I was 
removing a lot of redundant logging statements, and removed that line as 
well by accident). 

I don't know if it will help, but I've put a copy of the conduit project + 
the built version on our website here:

http://www.dogmelon.com.au/downloads/tmp/MemoPadConduit.zip

It shouldn't be confusing, as it's pretty much the standard demo with the 
code I mentioned. If you use this, it would be interesting to directly try 
the version I have already built first. If that works, then it must be my 
computer/palm setup, if not, then something else is going on...

Thanks for your help so far.

Dan





More information about the missing-sync-palmos-dev-talk mailing list