Re: COM Interop



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
> > > >>
> > > >>
> > >
> > >
.



Relevant Pages

  • Re: H-Series Photos
    ... This was to include the H-Series emulator with VULCAN/VOS interception of BLU system service calls. ... - Q register inoperative ... - Interrupt inactive for one instruction on certain instructions ...
    (comp.sys.harris)
  • Re: H-Series Photos
    ... The H-Series emulator has been completed ... - Q register inoperative (replaced by debug monitor) ... - Interrupt inactive for one instruction on certain instructions ...
    (comp.sys.harris)
  • Re: Global Object vs Local Object
    ... > separated assembler have different optimization. ... the instruction pointer IP; best kept in a register in your ... emulator, as it's constantly referred to; ... best keep the top of the stack in a register too. ...
    (comp.lang.asm.x86)
  • Re: Registering ActiveX on .NET CF emulator
    ... I have the code that is necessary to register. ... of registering an activeX which is in another DLL. ... STANDARDSDK_420 emulator that is the default in *eVC*. ... I want to register an ATL ActiveX ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: COM Interop
    ... "Vidya" wrote in message ... I cant find regsvrce.exe anywhere on the emulator. ... >> Alex Feinman ... >>>I have checked that the CLSID entry is present in the registry. ...
    (microsoft.public.dotnet.framework.compactframework)

Loading