[ANN] OpenNETCF.Desktop.Communication 2.9 Released

  • Thread starter Thread starter Chris Tacke, MVP
  • Start date Start date
C

Chris Tacke, MVP

Let's try that again without fat fingering the ctrl-return...

The OpenNETCF.Desktop.Communication library has been updated and released as
version 2.9. This library is a shared-source library that provides simple
managed code access to ActiveSync's RAPI methods.

Updates include:

- Bug fix for stack imbalance problem with ActiveSync 4.x
- Bug fix in the CeCreateProcess P/Invoke
- Project connverted to Studio 2005

It also has an updated CSharp sample

The updated version is available at:

http://www.opennetcf.org/communication

- OpenNETCF Consulting
 
Hi Chris,

Its a bit of a coincidence, but my installer code crapped out this morning
on a device running AS 3.8.0. It runs fine on my devices running AS 4.0. The
3.8.0 machines give an exception in my beforeInstall event, the exception is
coming from the when I call new Rapi() in the catch of ActiveSync(), new
RapiException("Unable to create ActiveSync object. Make sure ActiveSync is
installed");

Any chance that the changes in this new version fix this problem? Are you
aware of any problems with AS 3.8? Your note here only mentions AS 4.1.

Regards
Graham
 
Chris,

I don't know if this helps. If I now use the problem device on my own
machine running AS 4.0, it all installs ok. So it does appear to be a
problem with a desktop running 3.8.0.

I'm still waiting on one other guy, having exactly the same problem, to get
back to me with his version of AS.

Graham
 
The only known issue I fixed here was the stack imbalance exception caused
by a wrong definition of CeCreateProcess. The sample app was reworked more
than the library itself.

-Chris
 
Chris,

So you've no idea why the exception is happening in ActiveSync on a machine
running AS3.8?

Graham
 
You're not trying to install as a service or something like that are you?
You have to have ActiveSync installed and it must be accessible to the
installing "user" so services and the like cannot use it. Otherwise, I've
got no idea.

-Chris
 
Chris,

Thanks. No I'm not try to install as a service.

I'm just doing a Rapi rapi = new Rapi inside my
CustomInstaller_BeforeInstall(). The rapi stuff is coming right after
CeAppMgr has done its stuff. Its the call to new Rapi which produces your
RapiException, but only on a desktop running AS 3.8. As I said on my machine
with AS 4.0 it runs perfectly.

I've just rebuilt with 2.9 and I will get them to try that. I'll let you
know.

Graham
 
Back
Top