Re: Development for VGA resolution in C# - how?
- From: "Shiv" <Shiv@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Oct 2005 13:25:07 -0700
Robert,
Thanks.
What about my second Q. Is there a way to modify the exe once it is built to
make it high-res aware ?
If this was possible then i could look for our applications loaded on the
users PDA and add the resource to it so that they become hi-res aware. The
same concept as res2exe which i assume is used to add the custom resource to
an already built .NET binary. Note that my EXEs are built using EVC 3.0
compilers/linkers.
If you can point me to some source which i can use to do this or some link
which explains the concept of how to stamp an exe then i would be very
greatful. so will our users :).
-Shiva
http://www.skyscape.com
"Robert Levy [MS]" wrote:
> Resolution awareness is determined at load time on a per-process basis so
> you're right - EXEs need to be updated to include the custom resource
>
> --
> -Robert Levy
> Program Manager, Windows Mobile Developer Experience
> http://blogs.msdn.com/windowsmobile
>
> "Shiv" <Shiv@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:58DC6DDA-6A30-4373-90F5-F2B02313E0FF@xxxxxxxxxxxxxxxx
> > Robert,
> >
> > Our applications are written in C++. All my code is in a DLL and the DLL
> > is
> > dpi aware. The EXE's are just a shell which load the DLL and passes
> > control
> > to it.
> >
> > The issue is that if i send the DLL to a user the applications that he has
> > from us do not automatically become dpi aware since those EXE's were not
> > built with the custom resource "HI_RES_AWARE" .
> >
> > My Q is:
> >
> > a. Is there a way to tell the OS to run an application, which does not
> > have
> > the custom resource, in hi-rez mode ?
> >
> > b. If not a). then is there a way to modify those old EXE's on the fly so
> > that they will run in hi-rez aware mode ?
> >
> > The main issue is that on VGA devices the text in HTML control appears
> > fuzzy
> > if cleartype is turned on AND the application is not hi-rez aware.
> >
> > So ideally i would have liked to send the DLLs to the user so that all the
> > applications work fine. Since this is not possible iam looking for other
> > options so that the user does not have to download and re-install all his
> > existing applications.
> >
> > Thanks for any help you can provide.
> >
> > -Shiva
> >
> > http://www.skyscape.com
> >
> > "Robert Levy [MS]" wrote:
> >
> >> I wrote that :) The problem with just making things really big in the
> >> designer is that some controls simply won't let you adjust their height
> >> to
> >> be what you really need them to be. Single line TextBox is a good
> >> example.
> >>
> >> For your second question, here's a macro that will do the trick:
> >> http://blogs.msdn.com/windowsmobile/archive/2004/04/03/107203.aspx
> >>
> >> --
> >> -Robert Levy
> >> Program Manager, Windows Mobile Developer Experience
> >> http://blogs.msdn.com/windowsmobile
> >>
> >> "Allan Bo Jørgensen" <abj@xxxxxxxxxxxxxxxx> wrote in message
> >> news:ejAQCg$zFHA.2752@xxxxxxxxxxxxxxxxxxxxxxx
> >> > Thanks a lot - that did the trick!
> >> >
> >> > FWIW, one of the articles state that you can not use the Forms Designer
> >> > in
> >> > VS2003 to make HIDPI forms. That's not true - you can just assign it
> >> > another size yourself, and place controls as you like.
> >> >
> >> > What is still lacking is the ability to make VS2003 do the res2exe
> >> > magic
> >> > between build and deploy. If you know a way to handle this, it will be
> >> > possible to debug these apps on the device. I tried adding the res-file
> >> > to
> >> > the project, but that made no difference at all.
> >> > When I make desktop .NET applications I can specify a "Post build
> >> > event"
> >> > to handle such stuff, but apparently there's no such thing for smart
> >> > device projects. Does anyone know a way to handle this?
> >> >
> >> > - Allan
> >> >
> >> > Darren Beckley wrote:
> >> >> These links should help:
> >> >>
> >> >> http://msdn.microsoft.com/library/en-us/dnppcgen/html/developing_orientation_and_resolution_aware_apps.asp
> >> >> http://msdn.microsoft.com/library/en-us/dnppcgen/html/dpi_awareness.asp
> >> >>
> >> >> Darren
> >> >>
> >> >> "Allan Bo Jørgensen" <abj@xxxxxxxxxxxxxxxx> wrote in message
> >> >> news:Osux1P%23zFHA.3408@xxxxxxxxxxxxxxxxxxxxxxx
> >> >>
> >> >>>Hi all,
> >> >>>
> >> >>>I've been assigned the task of developing an application for some new
> >> >>>VGA
> >> >>>PDAs (iPaq hx4700 - runs Mobile 2003 SE) using C#. I'm quite familiar
> >> >>>with using Visual Studio 2003 and the Compact Framework, but I can not
> >> >>>figure out how to make Studio and my C# app realize that I have a VGA
> >> >>>screen. I expected to be able to configure Studio to give me a
> >> >>>suitably
> >> >>>sized form, but since I've been unable to figure out how to do this, I
> >> >>>simply resized it myself. When the app runs on my device, it appears
> >> >>>to
> >> >>>get scaled to x2 - not at all what I wanted.
> >> >>>
> >> >>>Anyone got a clue here? I've run out of ideas myself...
> >> >>
> >> >>
> >>
> >>
>
>
>
.
- Follow-Ups:
- Re: Development for VGA resolution in C# - how?
- From: Robert Levy [MS]
- Re: Development for VGA resolution in C# - how?
- References:
- Re: Development for VGA resolution in C# - how?
- From: Darren Beckley
- Re: Development for VGA resolution in C# - how?
- From: Allan Bo Jørgensen
- Re: Development for VGA resolution in C# - how?
- From: Shiv
- Re: Development for VGA resolution in C# - how?
- From: Robert Levy [MS]
- Re: Development for VGA resolution in C# - how?
- Prev by Date: Re: What software do I need to develope this
- Next by Date: Re: Development for VGA resolution in C# - how?
- Previous by thread: Re: Development for VGA resolution in C# - how?
- Next by thread: Re: Development for VGA resolution in C# - how?
- Index(es):
Relevant Pages
|