Re: Separate resource dll for PPC and Smartphone

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks, thats what i was missing!

"voidcoder" <voidcoder@xxxxxxxxx> wrote in message
news:O4s4XYRJIHA.5764@xxxxxxxxxxxxxxxxxxxxxxx

like this in my own resource project the right rc is not picked up.Both
are
compiled.

The right way is to set "Excluded from the build" option to "yes/no"
for each platform dependent .rc in your solution depending on
configuration. Just select the .rc file in Solution Explorer,
then goto context menu->properties->configuration properties.


--
Oleg

tech1 wrote:
Oleg, thanks. This is what i'm trying to do then. I have a separate
resource dll for each language with a separate rc file for the platform
in the given resource dll project. But when i create a separate rc files
like this in my own resource project the right rc is not picked up.Both
are
compiled.

So question is HOW is the right .rc is picked up
automatically depending on the current configuration (i.e. Smartphone
or PPC).


"voidcoder" <voidcoder@xxxxxxxxx> wrote in message
news:uJ8Dx5QJIHA.6108@xxxxxxxxxxxxxxxxxxxxxxx
DO i need to create a separate dll for each platform or do i just have
Normally you do not. Usually you have a separate .exe for each target
platform supported with built in resources. The right .rc is picked up
automatically depending on the current configuration (i.e. Smartphone
or PPC).


--
Oleg


tech1 wrote:
Hi, I'm creating a resource dll for my PPC\Smartphone MFC project.
DO i need to create a separate dll for each platform or do i just have
2 rc files within the dll ie ppc.rc and sp.rc ( the way the wizard
creates
for an MFC app targeted at both platforms). If i do it the latter way
how do i control which rc file is compiled dependent on what the
VS2005 platform is? I noticed in the MFC wiazard generated app projects
that even if you have the resource id for PPC resource files and
Smartphone
resource files only the correct resource file is compiled.

Thanks


.



Relevant Pages

  • Re: Separate resource dll for PPC and Smartphone
    ... > like this in my own resource project the right rc is not picked up.Both are ... resource dll for each language with a separate rc file for the platform ... automatically depending on the current configuration (i.e. Smartphone ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Separate resource dll for PPC and Smartphone
    ... resource dll for each language with a separate rc file for the platform ... in the given resource dll project. ... platform supported with built in resources. ...
    (microsoft.public.windowsce.embedded.vc)
  • [PATCH] dilnetpc: Fix warning
    ... The type of a resource could be 32 or 64bit depending upon platform or ... option so cast it explicitly. ...
    (Linux-Kernel)
  • Re: Silly URL...
    ... Note that while an URL can refer to a local File.. ... - A File cannot refer to a resource on an http site, or ftp, or.. ... But how many times have you seen code similar to this? ... ...use of File's can easily be made 'platform specific', ...
    (comp.lang.java.programmer)
  • Re: The problems in comp.lang.c
    ... and redirect the poster to an appropriate resource. ... platform specific solutions for one of the most commonly available ... because of topicality concerns. ...
    (comp.lang.c)