Re: CDHtmlDialog

From: Frank Hickman [MVP] (fhickman_NOSP_at_M_noblesoft.com)
Date: 01/01/05


Date: Sat, 1 Jan 2005 03:35:49 -0500

Is resource.h included in the source file that is being compiled at the
error?

-- 
============
Frank Hickman
Microsoft MVP
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.
"Neil B" <NeilB@discussions.microsoft.com> wrote in message 
news:BB54F3F8-241F-4156-9B6F-90B8B5947932@microsoft.com...
> I'm developing an app in C++ using Visual Studio.net. I just created a 
> dialog
> box resource of IDD_COMPANY_TYPE using the Dialog Editor  and a class of
> CDlgChartOfAccounts using the MFC Class Wizard. In the .h file there was 
> an
> enum variable created as follows:
>
> enum { IDD = IDD_COMPANY_TYPE, IDH = IDR_HTML_DLGCHARTOFACCOUNTS };
>
> Both IDD_COMPANY_TYPE and IDR_HTML_DLGCHARTOFACCOUNTS are in the 
> Resource.h
> file.
>
> The problem is that the compiler says that both IDD_COMPANY_TYPE and
> IDR_HTML_DLGCHARTOFACCOUNTS are undeclared identifiers. Why doesn't the
> compiler recoginze these resources?
>
> Thanks for any help,
> Neil 


Relevant Pages

  • Re: HLA v2.x and / or LASM suggestion: Win32 Resources
    ... > With Microsoft's RC compiler, I've just noticed that it's less capable ... > binary resource converted into readable, ... selecting the particular assembler syntax you want to output for. ... > are using that RC compiler via HLA or whatever;)... ...
    (alt.lang.asm)
  • HLA v2.x and / or LASM suggestion: Win32 Resources
    ... With Microsoft's RC compiler, I've just noticed that it's less capable ... binary resource converted into readable, ... possible to create an icon or bitmap on-the-fly in the actual program ... make a separate tool and then all of them can share ...
    (alt.lang.asm)
  • Re: How to interface with C++ in ASP?
    ... environment you're using that matches the settings found in SOURCES. ... There's an option for the resource compiler that causes extra NULLs to be ...
    (microsoft.public.windowsce.app.development)
  • Re: How to interface with C++ in ASP?
    ... environment you're using that matches the settings found in SOURCES. ... There's an option for the resource compiler that causes extra NULLs to be ...
    (microsoft.public.windowsce.app.development)
  • Re: Compiling C++ modules
    ... Very often one needs to acquire a resource, do something with it, and then free the resource. ... void f ... Additionally, C++ guarantees that if an exception is thrown after spin_lockis called, then the spin_unlockwill also be called. ... (the original C++ compiler actually worked by writing out the C code and letting the C compiler compile it; nowadays both compilers use the same intermediate representation, optimizer, and code generator). ...
    (Linux-Kernel)