|
Posted by Chris De Herrera on October 10, 2005, 6:19 pm
Please log in for more thread options Hi,
Have you tried the API call using ActiveSync 4.0 with an older device? Are
you sure that the GUID exists in a Windows Mobile 5.0 device?
--
Chris De Herrera
http://www.pocketpcfaq.com http://www.tabletpctalk.com http://www.pocketpctalk.com http://www.mobilitytalk.com
> Hi Chris,
>
> Thank you so much for you quick reply, before posting to this list I
> reviewed the two web sites you refered to and checked that the
> parameters I was passing were indeed correct, and tried many
> combinations of parameters for the name etc.
>
> With reference to the CeMountDBVol(&foo, lpszWdbName,OPEN_ALWAYS)
> call,
>
> What is very strange is that this works on all other versions of PPC
> devices only windows mobile 5.0 devices fail. It works with the same
> version of ActiveSync on ppc 2003 devices.
>
> As for my second question, When trying to see if another version of
> rapi would soved my problem (ie rapi2) that I read the following sites
> but could not link (see below) based on the correct lib files for rapi
> 2.
>
> Again thanks for anyone who may be able to point me in the correct
> direction.
>
> Philip
>
> Chris De Herrera wrote:
>> Hi,
>> Windows Mobile 5.0 does support the function calls. See
>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/mob5conRemoteAPIRAPIReference.asp
>> for an overview of RAPI in Windows Mobile 5.0.
>>
>> For CeMountDBVol see
>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/mob5lrfcemountdbvol.asp
>>
>> I suggest checking the parameters to make sure they are correct.
>>
>> --
>> Chris De Herrera
>> http://www.pocketpcfaq.com
>> http://www.tabletpctalk.com
>> http://www.pocketpctalk.com
>> http://www.mobilitytalk.com
>>
>> > Hello,
>> >
>> > I posted this to microsoft.public.pocketpc.developer also but then
>> > thought
>> > that this may be a better place.
>> >
>> > 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
>> >
>
|