Re: Use of ATL Composite Control & MFC throws Compilation Error in PPC

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Alex,
Can you please brief about how to solve this docobj.h file problem.
Thanks in advance.


Alex Feinman [MVP] wrote:
> It's almost as if you had a rogue "docobj.h" file somewhere
>
> "aswin" <aswin1980@xxxxxxxxx> wrote in message
> news:B912A7B4-9CF3-43FD-A164-953B48A0319E@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > Im developing an Atl composite control for Pocket Pc 2003. I have enabled
> > the MFC support for my control.
> >
> > when i compile the control it throws a compilation error as
> >
> > C:\Program Files\Windows CE Tools\wce420\POCKET PC
> > 2003\Include\emulator\mshtmhst.h(423) : error C2061: syntax error :
> > identifier 'IOleCommandTarget'
> > C:\Program Files\Windows CE Tools\wce420\POCKET PC
> > 2003\Include\emulator\mshtmhst.h(669) : error C2061: syntax error :
> > identifier 'IOleCommandTarget'
> > C:\Program Files\Windows CE Tools\wce420\POCKET PC
> > 2003\atl\include\atlhost.h(902) : error C2061: syntax error : identifier
> > 'IOleCommandTarget'
> >
> > I'm using eVC++ 4.0 SP4 to develop.
> > When i compile with STANDARDSDK_500 it compiles without an error.
> >
> > I would be happy to know what i have to do, to get rid of this error.
> >
> >
> >
> > Regards
> > Aswin.N.Paranji

.



Relevant Pages

  • Re: Difficulties programming a command button
    ... Twice when I tried to compile Access hung and I just ... and selecting 'Yes' opens the Excel file. ... I doubled checked the sheet names to what I had in the ... The name for the control for the equipment is “txtEquipment”. ...
    (microsoft.public.access.modulesdaovba)
  • Re: User Controls are dissapearing at designTime
    ... go into configuration manager and set all control projects to compile ... The user control is embedded in the project (a ... > reference in the project is not pointing anymore to binary. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Access Violation Exception
    ... In VB6, in the project's properties, go to the Compile tab and select ... This will create a PDB file when you compile ... where the error occurred in the custom control. ... > I have a vb6 app with various custom controls. ...
    (microsoft.public.vb.winapi)
  • Re: Access Violation Exception
    ... This will create a PDB file when you compile ... > where the error occurred in the custom control. ... >> I have a vb6 app with various custom controls. ... App enters into a loop where it displays the exception error and it ...
    (microsoft.public.vb.winapi)
  • Re: EXE hangs!
    ... I have been logging to a textbox on my application. ... to a property of an ActiveX control. ... I was checking the state of the DNS microphone control at a somewhat ... compiles into, so that I can write things that compile efficiently. ...
    (microsoft.public.vb.enterprise)