RAPI Error

  • Thread starter Thread starter Beebs
  • Start date Start date
B

Beebs

I keep getting error -2146824447 during my DEVICETODESKTOP call,
meaning it can't overwrite the database, yet I've tried every
combination of flags for this function. I've set it to true and
false, set the sync parameter to true and false and so on...no luck.
I'm using a Pocket Access database and I do have a BLOB field in one
table which is coming down (I hope) so I don't know if that's a
problem, but really I'm pulling my hair out trying to figure out why I
can't simply convert a cdb and merge it with an mdb. I've done this
before, but never used a database with OLE or BLOB fields in either,
so I didn't know if this could be a problem. Oh, yes, the database is
not open on either the desktop or the PPC, I verified this many times.

Thanks
 
I don't recall which version of AS started this (3.7.1?), but you have to
manually delete the PC database before the RAPI call. Overwrite will always
fail.

-Chris
 
That doesn't make any sense though, how do I get my data from the .cdb
if it's deleted? This is occuring with DEVICETODESKTOP, not
DESKTOPTODEVICE.
 
Back
Top