[missing-sync-palmos-dev-talk] Problems creating Palm Databases
with MissingSync
Scott Gruby
sgruby at markspace.com
Fri Jun 3 08:18:19 PDT 2005
On Jun 3, 2005, at 1:35 AM, Dan Fletcher wrote:
>
>
>> 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...
>
Turn on "Short Enumeration Constants" in the project; this is needed
as the Palm OS CDK uses short enums all over the place. If this isn't
already in the sample code, we'll fix it and try to put a new version
on our server soon.
Sorry for the inconvenience.
--
Scott Gruby
Lead Engineer
Mark/Space, Inc.
<http://www.markspace.com/>
Please visit <http://www.markspace.com/support/> for assistance with
Mark/Space products.
More information about the missing-sync-palmos-dev-talk
mailing list