🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.sys.palmtop.pilot
1 messages
1 total messages Started by EdO Mon, 10 Mar 2003 02:28
DmGetRecord causes fatal error
#8
Author: EdO
Date: Mon, 10 Mar 2003 02:28
29 lines
2668 bytes
Hi,

I have an application which works on a database transmitted by another
application via the Exchange manager. In order to facilitate upgrades to
this database, I have designed an application to be able to recieved updates
via the IR exchange library.

Upon recipt of an incoming tranmission with the correct file extension, the
exchange manager will call the application with the
sysAppLaunchCmdExgReceiveData.

When this happens, the application checks if it is active and recieve the
data upon confirmation by the user. If the application is not running, the
file is simply uploaded to the device..

In the case where the application IS running, I have a problem with the
ability to access the new uploaded Database. Before I run my exchange
manager recieve function, I close the Database which be overwritten. I then
proceed to recieve the new database and then Open it again.

The problem occurs as soon as I run DmGetRecord(databaseptr, 0). I know this
is wrong because the Database I'm sending, is a loop backed copy of another
non-empty database.

I must be missing something? How can I safely upload over an existing
database?

Thanks,
Ed
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads