Pocket PC Networking >> A function in WM5.0 not supported!

by Victor wang » Wed, 23 Nov 2005 10:45:19 GMT

Hi All,

I have meet a problem about CeOpenDatabase() function.

When I build my project a error like this appear:

error C4995: 'CeOpenDatabase': name was marked as #pragma deprecated

The project I build in EVC is ok and then update to VS2005 and build in
WM5.0 configuration, the error appears.

I found some help, it's said as if the 'CeOpenDatabase'function isn't
support in WM5.0! The function is used to open the

exist database, so I want to find a new function to instead this one, if
there anybody know about this, can you tell me?

Thanks in advance!


Victor




Pocket PC Networking >> A function in WM5.0 not supported!

by Peter Foot [MVP] » Wed, 23 Nov 2005 18:20:47 GMT


If you are using CEDB use CeOpenDatabaseEx, if you are using EDB use
CeOpenDatabaseInSession. See the SDK documentation for a full listing of
supported database APIs.

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com








Similar Threads

1. PDA pocket pc not supporting unbundle function

2. ActiveSync 4.2 not working on WM5.0 device over USB Serial Function driver - Pocket PC

3. Function ctime() does not work in WM5!

Hi everyone
I am working on a WM5 project in VS2005 and I want to use the function
ctime() but I keep on getting a LINK error. Below is what I try to do:

#include <time.h>

time_t t;
time(&t);

ctime(&t);

And here is the link error I get:

....
Linking...
UtilityLibCE5ARMV4I_D.lib(debug.obj) : error LNK2019: unresolved
external symbol ctime referenced in function ...
UtilityLibCE5ARMV4I_D.lib(debug.obj) : error LNK2019: unresolved
external symbol time referenced in function ...
ARMV4IDbg/WVPNCECl.exe : fatal error LNK1120: 2 unresolved externals

I've searched for ctime in the libraries and found it in
...\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i\time.h

where the function prototype header is defined like below:

/* Function prototypes */
_CRTIMP char * __cdecl ctime(const time_t *);

but the function itself is nowhere to be found. This explains why the
compiler does not complain but the linker does.
Do I have a corrupt WM5 SDk where file "time.c" containing the function
body for ctime() is missing? Or am I missing something else?

Thanks for your help. Regards.
/Babak

4. gss_init_sec_context() failed: : Ccache function not supported:

5. gss_init_sec_context() failed: : Ccache function not supported:

Can someone tell me how to fix this error?  this error came from curl using 
"--negotiate" option on a window platform using "MSLSA:" as ccache (AD is 
the KDC in this case).  the client is windows XP using MIT 1.3.5 library. 
BTW, I also experience the same error with kerberos ftp with kclient.  Is it 
a problem of the library or the way the library get used.

thanks
-peter huang
 


6. Support for NOT IN SERVICE when agent does not support CREATE AND ?WAIT

7. Support for NOT IN SERVICE when agent does not support CREATE AND WAIT

Hi all,
     Is it correct for an agent to support NOTINSERVICE even though it
does not support CREATEANDWAIT for ROWSTATUS columns?

8. Trying to call DnsCacheTable function (not sure how to call function)