Re: How to clone a Windows CE 5.0 OS design

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Tank you Paul.

It was true and I have discovered why:

Platform ID didn't match because PB sometimes doesn's update platform ID
into the <OS_Design_Dir>\WINCE500\CPU1X33_x86\OAK\files\project.reg file when
I change the PlatformGuid into the .pbxml file. I need to change it manually
or to delete .reg file.

Also, if I already installed the SDK built using the old PlatformGuid , I
need to unstall it and to remove manually some key, relevant to the
uninstalled SDK and not always automatically removed by uninstall, from the
Windows Register. These key are under
HKLM\SOFTWARE\Microsoft\Windows CE Tools\Platform Manager\
and
HKLM\SOFTWARE\Microsoft\Windows CE Tools\SDK.

Many Thanks again Paul.

Bruno


"Paul G. Tobey [eMVP]" wrote:

Your registry entry for the platform ID doesn't match the value that you put
in the OS design/SDK.

[HKEY_LOCAL_MACHINE\Windows CE Tools]
"Platform"="{your guid}"

Paul T.

"abru" <abru@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4BC71531-BD8A-417E-9E18-A48724C833D8@xxxxxxxxxxxxxxxx
Now I have another problem on this subject:

I have generated a new OS Design cloning a previous one and than changing
the PlatformGuid. Than I have ganerated the new NK.BIN and the new SDK.
Finally I have installed the new SDK and generated my application, under
eVC
4.0, using the new SDK.
The problem is: when I try to download my application into the target,
where
is running the new NK.BIN, I receive the following warning message: "The
target platform XXX does not match the connected platform. Continue?".
It seems that NK.BIN loaded into the target have an old platform
identification: I tried to rebuild my applycation with the old SDK and the
warning does not appear.

I hope you can help my as usual.

Bruno

"Paul G. Tobey [eMVP]" wrote:

That's what I have done in the past. Visual Studio and every other
development environment for Windows for that last 10 years, at least, has
the ability to generate GUIDs. You can edit the project file with any
text
editor other than Platform Builder itself, even Notepad...

Paul T.

"Remi de Gravelaine" <gravelaine at aton dash sys dot fr> wrote in
message
news:enLgxzdJIHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
Sorry if I answer for Paul but he must be sleeping now :-)

How I can change the PlatformGuid safely? Can I generate another
PlatformGuid in some way?

Well a GUID is a GUID, by essence unique. So any GUID will fit.
You can use the %_WINCEROOT%\SDK\BIN\I386\GUIDGEN.EXE utility to
generate
GUIDs.

Remi







.



Relevant Pages

  • Re: eVC4 and Visual Studio 2005
    ... platform?, etc.), and maybe that's causing some problem with the project ... Paul T. ... [about possibility of using CE5 SDK with VS2005] ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Adding both .NET 2.0 and 3.5
    ... PB just can't deploy both to the same image and as Paul pointed out, there's no reason to ship both on a device anyway. ... Platform manager allows all versions to be added ... If you need to run .NET CF 3.5 applications, then add .NET CF 3.5 and live with it. ... It looks like that if I have only .NET 3.5 then I am able to execute both 2.0 and 3.5 programs in debug mode using VS2008. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: PPC 2003 Thread
    ... this same executable runs just fine in PPC 2002 platform. ... >> might be helpful to put some debug messages in the thread so you can tell ... >> Paul T. ... >>> Hi Tobey, ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: NETCF2 included but not built
    ... bought Platform Builder and call Microsoft. ... Paul G. Tobey wrote: ... the Platform builder 4.2 has .net compact framework 2.0 ... unpacked from the installation of that works fine in the target ...
    (microsoft.public.windowsce.embedded)
  • Re: NETCF2 included but not built
    ... bought Platform Builder and call Microsoft. ... Paul G. Tobey wrote: ... the Platform builder 4.2 has .net compact framework 2.0 ... unpacked from the installation of that works fine in the target ...
    (microsoft.public.windowsce.embedded)