Is there something that I can do in order to use RAPI with a Windows service? I'm using ActiveSync 4.5, VS 2008 & 3.5 .NET Framework. The same code will work when placed on a Windows form, but not from the service. There appears to be a timeout and then a false return for m_rapi.DevicePresent.
RAPI m_rapi = new RAPI(); <-- very long wait
if (m_rapi.DevicePresent) <-- always false after the return from service app
{
}