hi, can anyone tell why Cocreateinstance() fail on device while it works fine with wince emulator . thanks & regards Peter