Hi,

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

Re: What function can instead the CeOpenDatabase() in VS2005! by ctacke/>

ctacke/>
Tue Nov 22 22:34:10 CST 2005

Start here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedata5/html/wce50grfedbreference.asp

-Chris


"Victor wang" <vic@ibegroup.com> wrote in message
news:u%23ZJXZ%237FHA.472@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> 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
>
>



Re: What function can instead the CeOpenDatabase() in VS2005! by Victor

Victor
Wed Nov 23 05:33:03 CST 2005

Thank you very much! I'll try to find one!
"<ctacke/>" <ctacke_AT_OpenNETCF_com> дÈëÏûÏ¢ÐÂÎÅ:eXcprd%237FHA.740@TK2MSFTNGP11.phx.gbl...
> Start here:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedata5/html/wce50grfedbreference.asp
>
> -Chris
>
>
> "Victor wang" <vic@ibegroup.com> wrote in message
> news:u%23ZJXZ%237FHA.472@TK2MSFTNGP15.phx.gbl...
>> Hi,
>>
>> 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
>>
>>
>
>