So, i'm trying to help out a friend of mine that uses software on a PDA to collect data from a probe. The data is stored inside a system database and then, when the PDA is connected to the computer, the software should connect to the database on the PDA, stream the data into a .dat file on the desktop... that's it.
So, it works just fine in Windows Mobile 2003 ... now, using the app in Windows Mobile 5.0, it doesn't work. I've narrowed it down to the CeOpenDatabaseEx function.. It always returns an invalid handle. The code portion where the problem occuring is below...
Now, i've read that calls to Open up databases and such may not work, due to some security restrictions in windows mobile 5.0... so, you have to use the CeRapiInvoke() function to gain trust for the device.. or you have to use a security certificate. I basically want the easiest method of doing things, as all I need is access to a database (that is created and the data is being filled in the database) to pull out the data and store it in a file. Seems pretty easy and probably would be if I was an expert in Windows-based programming, but i'm not. Any experts out there?
So, it works just fine in Windows Mobile 2003 ... now, using the app in Windows Mobile 5.0, it doesn't work. I've narrowed it down to the CeOpenDatabaseEx function.. It always returns an invalid handle. The code portion where the problem occuring is below...
Now, i've read that calls to Open up databases and such may not work, due to some security restrictions in windows mobile 5.0... so, you have to use the CeRapiInvoke() function to gain trust for the device.. or you have to use a security certificate. I basically want the easiest method of doing things, as all I need is access to a database (that is created and the data is being filled in the database) to pull out the data and store it in a file. Seems pretty easy and probably would be if I was an expert in Windows-based programming, but i'm not. Any experts out there?