Hello,

Question 1:
With rapi syncing to a new Dell AXIM x51v (Windows mobile conduit)
I am unable to use

CeMountDBVol(&foo, lpszWdbName,OPEN_ALWAYS)
It always returns fails and
CeGetLastError();
returns ERROR_INVALID_PARAMETER;

The same code works fine againts an emulator and fine on older versions

PPC 2003 etc. So im pretty sure its not actually invalid parameters.

Question 2:
When trying to use rapi2 I am getting unresolved external symbol
_CLSID_RAPI
and unresolved external symbol _IID_IRAPIDesktop. I am including all
the Lib files from the new windows mobile 5 activesyc directories.

Any ideas would be helpful.

Thanks,

Philip

Re: 2 RAPI Question with Windows Mobile 5.0 by Ahmed

Ahmed
Thu Jan 26 17:17:14 CST 2006

1. It must be because of the security restrictions on retail devices. By
disabling RAPI security, for testing purpose as many customers will have
RAPI security on, you can ensure whether it is the case.

A privileged device application can load the XML below to turn RAPI security
off. Again, keep in mind that you would not be able to do the same on all
retail devices.

<wap-provisioningdoc>
<characteristic type="SecurityPolicy">
<parm name="4097" value="1"/>
</characteristic>
</wap-provisioningdoc>

2. RAPI 2 is a standard COM object, you might will need to set INITGUID
macro properly before including any of your header files

--
> --
> Ahmed Smahi [MSFT]
> Test@online.microsoft.com
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
<beakesland@gmail.com> wrote in message
news:1128899460.285099.297750@o13g2000cwo.googlegroups.com...
> Hello,
>
> Question 1:
> With rapi syncing to a new Dell AXIM x51v (Windows mobile conduit)
> I am unable to use
>
> CeMountDBVol(&foo, lpszWdbName,OPEN_ALWAYS)
> It always returns fails and
> CeGetLastError();
> returns ERROR_INVALID_PARAMETER;
>
> The same code works fine againts an emulator and fine on older versions
>
> PPC 2003 etc. So im pretty sure its not actually invalid parameters.
>
> Question 2:
> When trying to use rapi2 I am getting unresolved external symbol
> _CLSID_RAPI
> and unresolved external symbol _IID_IRAPIDesktop. I am including all
> the Lib files from the new windows mobile 5 activesyc directories.
>
> Any ideas would be helpful.
>
> Thanks,
>
> Philip
>