Anybody familiar with WM2003 to WM5.0 conversion?

Brassman

Golden Member
Nov 6, 2000
1,984
0
0
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?

 

Brassman

Golden Member
Nov 6, 2000
1,984
0
0
I don't believe there's no experts for windows mobile in here! C'mon, if you know anything, I could really use the help!
 

Brassman

Golden Member
Nov 6, 2000
1,984
0
0
Bah, I found a work around for the moment that works... if you have the same problem, PM me or just google search for "Mobile Registry Editor" and look in the FAQ's.
 

igowerf

Diamond Member
Jun 27, 2000
7,697
1
76
I did some Windows Mobile programming last year and found the online community to be small and mostly unhelpful. Most of the forums that I ran across were relatively inactive and most articles were really, really outdated. It seems that everyone is using .NET now, but I was stuck with the free VC++ 4.0 compiler that Microsoft provides on their Pocket PC site.

I wanted to do the simple task of generating MIDI tones and I could only find one French website with some source code.