Re: COM Interop
- From: "Vidya" <Vidya@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 05:24:04 -0700
I could find a compatible regsvrce and copied it to the windows folder. On
trying to register my dll, it gives "GetLastError returns C1".
"Vidya" wrote:
> Alex
> I didnt realise that the COM object needs to be separately registered on the
> emulator. I cant find regsvrce.exe anywhere on the emulator. And as I am
> not using WindE I cant find it on my machine either. I checked my PPC also,
> which is an IPAQ device. It also doesnt have this file. Do you know where I
> can get this file for IPAQ device or for PPC2003 emulator.
>
> Regards
> Vidya
>
> "Vidya" wrote:
>
> > Am able to do that from VC client as well as VB client.
> >
> > "Alex Feinman [MVP]" wrote:
> >
> > > Would it be possible for you to try instantiating this object from C++ code?
> > > Something has got to be wrong there
> > >
> > > --
> > > Alex Feinman
> > > ---
> > > Visit http://www.opennetcf.org
> > > "Vidya" <Vidya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > news:2432817D-C737-4358-855E-717108E8244A@xxxxxxxxxxxxxxxx
> > > >I have checked that the CLSID entry is present in the registry. Also I can
> > > > see the dll and the methods exposed in the object browser on the VS 2005.
> > > >
> > > > Regards
> > > > Vidya
> > > >
> > > > "Alex Feinman [MVP]" wrote:
> > > >
> > > >> This error code simply means that the class is not registered. Remeber
> > > >> that
> > > >> your CF project will not register the referenced COM server - you need to
> > > >> do
> > > >> it yourself.
> > > >>
> > > >> --
> > > >> Alex Feinman
> > > >> ---
> > > >> Visit http://www.opennetcf.org
> > > >> "Vidya" <Vidya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > >> news:037995E8-B596-4A6B-A5DA-14A83DE21D18@xxxxxxxxxxxxxxxx
> > > >> >I am using VS 2005 Beta 1 and CF 2.0. I have a old COM server (dll )
> > > >> >which
> > > >> >I
> > > >> > would like to call from the PPC client app. I have added the reference
> > > >> > and
> > > >> > am able to build. However the "new" call throws a runtime
> > > >> > COMException.
> > > >> > The
> > > >> > exception code is -2147221164.
> > > >> > Am in the process of installing beta2 now, but I dont think that would
> > > >> > help.
> > > >> > Pls let me know as to what I am missing.
> > > >> >
> > > >> > Regards
> > > >> > Vidya
> > > >>
> > > >>
> > >
> > >
.
- Follow-Ups:
- Re: COM Interop
- From: Alex Feinman [MVP]
- Re: COM Interop
- From: Paul G. Tobey [eMVP]
- Re: COM Interop
- References:
- COM Interop
- From: Vidya
- Re: COM Interop
- From: Alex Feinman [MVP]
- Re: COM Interop
- From: Vidya
- Re: COM Interop
- From: Alex Feinman [MVP]
- Re: COM Interop
- From: Vidya
- Re: COM Interop
- From: Vidya
- COM Interop
- Prev by Date: Transfer files on and from CE device
- Next by Date: Soft Reset and Power Off
- Previous by thread: Re: COM Interop
- Next by thread: Re: COM Interop
- Index(es):
Relevant Pages
|
Loading