Hello,

I created the simple x86 / emulator / word pad project in order to
learn Windows CE (Windows CE 5.0 installed on Windows XP pro SP2).

I did some modifications in the following files:
C:\WINCE500\PUBLIC\WCESHELLFE\OAK\CTLPNL\CPLMAIN\owner.cpp
C:\WINCE500\PUBLIC\WCESHELLFE\OAK\LIB\X86\RETAIL\0409\ownerl.res

(removed "At Power On" group control, and commented the particular
code that process this control, I f such information is considered to
be relevant)

After that I went to menu -> Build OS, and opened Released directory.
C:\WINCE500\PBWorkspaces\TestThree\RelDir\Emulator_x86_Release>build

And immediately (1-2 seconds) got this result:

C:\WINCE500\PBWorkspaces\TestThree\RelDir\Emulator_x86_Release>build
Build for Windows CE (Release) (Built on Apr 22 2004 10:38:01)
File names: Build.log Build.wrn Build.err Build.dat
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:ERRORI] Error finding topmost directory
containing dirs file.
BUILD: [00:0000000001:PROGC ] Files Warnings
Errors
BUILD: [00:0000000002:PROGC ] Midl 0 0 0
BUILD: [00:0000000003:PROGC ] Resource 0 0 0
BUILD: [00:0000000004:PROGC ] Message 0 0 0
BUILD: [00:0000000005:PROGC ] Precomp Header 0 0 0
BUILD: [00:0000000006:PROGC ] C/Cpp/Cxx 0 0 0
BUILD: [00:0000000007:PROGC ] Assembler 0 0 0
BUILD: [00:0000000008:PROGC ] Static Libraries 0 0 0
BUILD: [00:0000000009:PROGC ] Dll's 0 0 0
BUILD: [00:0000000010:PROGC ] Exe's 0 0 0
BUILD: [00:0000000011:PROGC ] Resx 0 0 0
BUILD: [00:0000000012:PROGC ] Csharp Targets 0 0 0
BUILD: [00:0000000013:PROGC ] Other 0 0 1
BUILD: [00:0000000014:PROGC ]
BUILD: [00:0000000015:PROGC ] Total 0 0 1
BUILD: [00:0000000016:PROGC ]
BUILD: [00:0000000017:PROGC ] 0 Warnings, 1 Errors

I was trying to find a file called Build.err, but did not find it under
the whole Windows CE branch, on C:\WINCE500

In the same time, I can Build and Sysgen the same project from Menu ->
Build OS -> Build and Sysgen, and process is built just fine.

What wrong with the building from command line? Should I set something?

Thanks,
Alex

Re: Immediate error ("Other") trying to build Windows CE project from command line by Bruce

Bruce
Tue Aug 30 07:24:28 CDT 2005

What's wrong? You are not in a folder that has anything to build. The
release directory is an output directory in the context of "build".

> BUILD: [00:0000000000:ERRORI] Error finding topmost directory containing
> dirs file.

Build is expecting a root folder that contains a dirs file.

You need to change directories to a directory that you want to build, which
would have a dirs or sources file in it.

And, as we have stated many times before: Don't modify the Public code,
instead clone it to your own project to modify and build it.

--
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




Re: Immediate error ("Other") trying to build Windows CE project from command line by Alex

Alex
Thu Sep 01 02:33:42 CDT 2005

Hi Bruce, thanks. It works just fine.

> And, as we have stated many times before: Don't modify the Public code,
> instead clone it to your own project to modify and build it.

Do you mean just simply copy the original c:\windowsce50\public by
xcopy its content under c:\windowsce50\public_orig for example?


Re: Immediate error ("Other") trying to build Windows CE project from command line by Alex

Alex
Thu Sep 01 02:42:23 CDT 2005

Just applied the method RTFM() to myself, and found the following
article in Windows CE 5.0 help:
How to Duplicate a Public Directory as an OS Design Directory
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceosdev5/html/wce50howHowtoDuplicateaPublicDirectoryasaPlatformDirectory.asp

Bruce, is it what you mean by saying?

> Don't modify the Public code, instead clone it to your own project to modify and build it.

-- Alex


Re: Immediate error ("Other") trying to build Windows CE project from command line by Bruce

Bruce
Thu Sep 01 07:49:39 CDT 2005

Yes, careful on step 7. Don't edit ce.bib, but instead edit the appropriate
bib file for where you put the files. As with many of these step by step
things, pass READ_BETWEEN_THE_LINES to RTFM().

--
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


"Alex Zarutin" <alexzar@gmail.com> wrote in message
news:1125560543.706423.65900@z14g2000cwz.googlegroups.com...
> Just applied the method RTFM() to myself, and found the following
> article in Windows CE 5.0 help:
> How to Duplicate a Public Directory as an OS Design Directory
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceosdev5/html/wce50howHowtoDuplicateaPublicDirectoryasaPlatformDirectory.asp
>
> Bruce, is it what you mean by saying?
>
>> Don't modify the Public code, instead clone it to your own project to
>> modify and build it.
>
> -- Alex
>