Do give you more information:
1. When the rapi constructor gets called it calls the ActiveSync Contructor. The ActiveSync Contructor then calls the DccMan constructor. the DccMan constructor is where the error is comming from.
2. This is the error: Unable to load DLL 'rapi.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E). I checked the registry for the Guid("499C0C20-A766-11cf-8011-00A0C90A8F78")
and its ImProcServer key is pointing to the right directory.
3. When I try putting the rapi.dll in the system32 directory I get the fol1owing error: An attempt was made to load a program with an incorrect format. (Exception
from HRESULT: 0x8007000B). It doesn't matter if I use a 64 bit version to put inthe Windows\System32 directoryor a 32 bit version I get the same error.