|
Posted by Martin Bauer on March 30, 2007, 3:03 am
Please log in for more thread options
Hello,
my application use the rapi.dll and works fine under XP/AS. My pseudo-code
for testing:
void test()
{
CeRapiInit();
CeRapiUninit();
}
Under XP/AS works fine. If drop the device from cable and reconnect the
device then i can call
my testfunction and it works fine.
Under Vista/WMDC want run this function only one. The secound call get a
error C00...005 (!)
in line of CeRapiUninit.
Ok, now i remove this line and test again. At XP/AS works fine, but all
CeXXX function failed on reconnect.
Solution: i call CeRapiUninit -> CeRapiInit -> CeXXX -> works fine.
At Vista, i do the same, but all CeXXX function failed ! CeRapiUninit do
nothing !(???).
My second problem are, how can i register my sync-dll at WMDC ? ( made with
VC6.0 ).
The registry-keys are different for AS/WMDC ...*arg* :-(
Do i need VS2005 and WM SDK 6 for create a Vista/WMDC sync-dll ?
Regards, Martin
sorry for my little bit english.
|