Re: Noob question on registry
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 1 May 2006 11:21:29 -0700
It's not the final file. You're editing the file for one BSP. If you
should happen to build your project for, say, some ARM-based processor and
also for some x86-based processor, there would be two copies of those files,
platform.reg, one for each. The right one for the actual target you are
building for, along with all of the compiled files, EXE, DLL, etc. is copied
to the special release folder, where the operating system is assembled from
the items found there.
You got that error using the Copy Files to Release Folder command in PB or
in some other way?
As I've already said, you *are editing the right file*. You are just making
a number of wrong assumptions about what happens during a build and trying
to shortcut things that are just digging a hole for you to fall into.
Paul T.
<Richard@xxxxxxxxxxxxx> wrote in message
news:26E4B730-CB5C-41B2-912D-C24AF1F37D38@xxxxxxxxxxxxxxxx
OK so the file I edit within PB is not the file that ends up on the
platform?
When I tried copying C:\WINCE500\PLATFORM\855gme\Files\platform.reg to
C:\WINCE500\PBWorkspaces\P6LC_855\RelDir\855GME_x86_Release\platform.reg I
got a fatal error when I did makeimg (some #include file was not found).
The
two files are completely different... If the file in the release directory
is
not the file in PB then where does the release directory verson come from
in
the first place? And how do I properly edit the release version so it ends
up
on my platform?
Thank you,
Richard
"Paul G. Tobey [eMVP]" wrote:
That's a safe place. You then just have to make sure that *that* file
ends
up in the flat release folder before you make the image. If you change
that
file and simply select Make Image from the build menu, that file doesn't
get
copied to the release folder and the last version of the file copied
there
will be used instead.
Again, check reginit.ini to see if the right entries are getting into the
flat release folder.
Paul T.
<Richard@xxxxxxxxxxxxx> wrote in message
news:A0AD5E68-5D1E-4CCE-ACD1-F1F7721A3235@xxxxxxxxxxxxxxxx
Thanks Bruce,
I'm getting at the file by double clicking on platform.reg under
P6LC_855
parameters, C:\WINCE500, 855GME, Hardware Specific Files from the
Parameter
View tab. Is this correct?
Thank you,
Richard
"Bruce Eitman (eMVP)" wrote:
What files are you editing? and in which directories? It is a common
mistake to either edit in the release directory which gets overwritten
by
the build, or in the Files directories and not have them copied to the
release directory before running makeimg.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
<Richard@xxxxxxxxxxxxx> wrote in message
news:323F556A-8846-4209-A426-925A4E807FF3@xxxxxxxxxxxxxxxx
I changed all of them because I can't tell from the "IF" directives
which
of
the several blocks is the appropriate one. At any rate the
reginit.ini
in
the
release directory still has "EnableDHCP"=dword:1 (and a new
date/time
stamp)
so I'm still doing something wrong... Any more ideas?
Thank you,
Richard
"Paul G. Tobey [eMVP]" wrote:
Check reginit.ini in the flat release directory and see what
settings
actually ended up in the registry (and make sure that you don't
have
persistent registry on the device and are using an old registry
saved
that
way). You should also make sure that you're changing the *right*
EnableDHCP. It's silly to change all of them. Change the one
associated
with the card whose IP you actually want to set.
Paul T.
<Richard@xxxxxxxxxxxxx> wrote in message
news:AAC06BED-0D9C-48FB-A87C-E772552B4E81@xxxxxxxxxxxxxxxx
Thanks Paul,
I found several entries in platform.reg for "EnableDHCP" and set
them
all
to
dword:0 and added my static IP settings then did a Make Run-Time
Image
and
Attach Device. When I go to my connection properties on my
platform
it
still
has DHCP as the default. Do I need to do a Build and Sysgen or am
I
missing
something else?
Thank you,
Richard
"Paul G. Tobey [eMVP]" wrote:
The build system is set up to allow registry settings from a
variety
of
sources. Any .REG file in the flat release directory when the
image
is
built will contribute its settings to the registry. In
particular,
platform.reg (highest priority), and project.reg (next highest),
are
accessible via Platform Builder for platform/project-wide types
of
settings.
The particular settings you are talking about won't be anywhere,
because
it
would be silly for Microsoft to try to assign a static IP
address,
subnet,
etc. as a default for all devices. The default for any network
device
is
going to be DHCP assignment of IP and other parameters. You can
change
that
with your own new settings (and set EnableDHCP to 0, rather than
the
default
of 1).
Paul T.
<Richard@xxxxxxxxxxxxx> wrote in message
news:D80A7ECF-1906-4CA4-8770-472F301C9A75@xxxxxxxxxxxxxxxx
Hello all,
How is it possible to modify registry settings in PB?
Specifically I
want
to
setup the static IP, Subnet, Gateway and DNS settings so when
the
platform
boots it has those settings without having to set them in the
dialog. I
think
it's in Parameter View but I can't find those settings.
Thanks in advance,
Richard
.
- References:
- Re: Noob question on registry
- From: Paul G. Tobey [eMVP]
- Re: Noob question on registry
- From: Paul G. Tobey [eMVP]
- Re: Noob question on registry
- From: Richard@nospam.nospam
- Re: Noob question on registry
- From: Bruce Eitman \(eMVP\)
- Re: Noob question on registry
- From: Richard@nospam.nospam
- Re: Noob question on registry
- From: Paul G. Tobey [eMVP]
- Re: Noob question on registry
- From: Richard@nospam.nospam
- Re: Noob question on registry
- Prev by Date: Re: Noob question on registry
- Next by Date: Re: Noob question on registry
- Previous by thread: Re: Noob question on registry
- Next by thread: Re: Noob question on registry
- Index(es):
Relevant Pages
|