Re: Problems compiling in Platform directory; in Public it works



I havn't altered it. It worked for a while in the
"C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP"-directory.

Do you installed all QFE's? What's QFE's? I have the packages for the
emulator and my WinCE device ArmV4i.
What are your (build)steps? Open release directory, goto
"C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP", build, then I get the errors.


Here's my sources file:

!if 0
Copyright (c) Microsoft Corporation. All rights reserved.
!endif
!if 0
Use of this source code is subject to the terms of the Microsoft end-user
license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
If you did not accept the terms of the EULA, you are not authorized to use
this source code. For a copy of the EULA, please see the LICENSE.RTF on your
install media.
!endif

TARGETNAME=Httpadmasp
TARGETTYPE=DYNLINK

RELEASETYPE=OAK
RCADDNULL=1

WINCEATL30=1

GLOBAL_RESBASE=Httpadmasp

CDEFINES=$(CDEFINES) -D_ATL_NO_SECURITY
MIDL_FLAGS=$(MIDL_FLAGS) -D_MIDL_USER_MARSHAL_DISABLED=1


# one huge PDB file for all of Httpadmasp
TARGET_PDB_NAME=$(_RELEASELIBDIR)\$(TARGETNAME).pdb

# Copy DEF file
TARGETDEFNAME=$(TARGETNAME)
DEFFILE=$(TARGETNAME).def
WINCETARGETFILE0=$(_RELEASELIBDIR)\$(TARGETDEFNAME).def

PRECOMPILED_OBJ=obj\$(_CPUINDPATH)\Httpadmasp.obj

# Copy RES file
COPYRES=1
WINCETARGETFILES=$(_RELEASELIBDIR)\$(TARGETNAME).res

SOURCES= \
admin.idl \
admin_dll.cpp \
StdAfx.cpp \
settings.cpp \
Vroots.cpp \
admin_i.c \
httpadmasp.rc

TARGETLIBS=\
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\coredll.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\ole32.lib\
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\oleaut32.lib\
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\uuid.lib\
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\ceosutil.lib\
#xref VIGUID {0cf0fceb-6815-45bb-9360-f3d9b1b8a9b2}
#xref VSGUID {5e5194ca-ed04-434c-ae8e-16205c90e1b5}


"Erwin Zwart" wrote:

Hi,

i assume that you are trying to clone the ASP httpadmasp.dll code located in
$(_WINCEROOT)\PUBLIC\SERVERS\SDK\SAMPLES\HTTP\ASP ?

I did the same and it worked.
Modify the RELEASETYPE, the paths for your targetlibs and add the INCLUDES
macro.
I builded this from the command line and from a sysgen.

Do you installed all QFE's?
What are your (build)steps?
can you list your sources file?

Hope this helps,

Erwin Zwart

"lagu2653" <lagu2653@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:16E32465-5EB6-47DD-A51B-B483E4A7C1C6@xxxxxxxxxxxxxxxx
I always delete all Build.dat, Build.err, Build.log, Build.wrn files before
compiling. After editing my files I can compile in the Public directory (I
restore the default files afterwards), but when compiling in
C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP I get this error:

BUILD: [01:0000000034:ERRORE] midl : command line error MIDL1012 :
argument
illegal for switch / O
BUILD: [01:0000000035:ERRORE] midl : command line error MIDL1012 :
argument
illegal for switch / O

How do I make it compile in C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP ?

This is the full output:

C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP>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:PROGC ] Checking for
\WINCE500\sdk\bin\i386\srccheck.exe.
BUILD: [00:0000000001:PROGC ] SrcCheck exit code: 0 (dec).
BUILD: [00:0000000002:PROGC ] Compile and Link for x86.
BUILD: [00:0000000003:PROGC ] Computing include file dependencies:
BUILD: [00:0000000004:PROGC ] Checking for SDK include directory:
C:\WINCE500\sd
k\ce\inc.
BUILD: [00:0000000005:PROGC ] Scan \WINCE500\PLATFORM\CCPXS_IXC1100\ASP\
BUILD: [00:0000000006:WARNS ] Macro: __PROJROOT not found in
$(__PROJROOT)\oak\l
ib\$(__CPUDIR)\$(TARGETDEFNAME).def.
BUILD: [00:0000000007:WARNS ] Macro: __PROJROOT not found in
$(__PROJROOT)\oak\l
ib\$(__CPUDIR)\$(TARGETNAME).res.
BUILD: [00:0000000008:WARNS ] Macro: __PROJROOT not found in
$(__PROJROOT)\oak\t
arget\$(__CPUDIR).
BUILD: [00:0000000009:WARNS ] Macro: __PROJROOT not found in
$(__PROJROOT)\oak\l
ib\$(__CPUDIR).
BUILD: [00:0000000010:WARNN ] \WINCE500\PLATFORM\CCPXS_IXC1100\ASP\:
Missing
sou
rce file: admin_i.c.
BUILD: [00:0000000011:WARNS ] Directory:
C:\WINCE500\platform\Emulator\inc\
does
not exist.
BUILD: [00:0000000019:PROGC ] Saving
C:\WINCE500\PLATFORM\CCPXS_IXC1100\Build.da
t.
BUILD: [00:0000000021:PROGC ] Total of 1 pass zero files to compile in 1
directo
ries.
BUILD: [00:0000000022:PROGC ] Building generated files in
\WINCE500\PLATFORM\CCP
XS_IXC1100\ASP\.
BUILD: [01:0000000032:PROGC ] Midl Compiling .\admin.idl
BUILD: [01:0000000034:ERRORE] midl : command line error MIDL1012 :
argument
ille
gal for switch / O
BUILD: [01:0000000035:ERRORE] midl : command line error MIDL1012 :
argument
ille
gal for switch / O
BUILD: [00:0000000037:PROGC ] Files Warnings
Erro
rs
BUILD: [00:0000000038:PROGC ] Midl 1 0
2
BUILD: [00:0000000039:PROGC ] Resource 0 0
0
BUILD: [00:0000000040:PROGC ] Message 0 0
0
BUILD: [00:0000000041:PROGC ] Precomp Header 0 0
0
BUILD: [00:0000000042:PROGC ] C/Cpp/Cxx 0 0
0
BUILD: [00:0000000043:PROGC ] Assembler 0 0
0
BUILD: [00:0000000044:PROGC ] Static Libraries 0 0
0
BUILD: [00:0000000045:PROGC ] Dll's 0 0
0
BUILD: [00:0000000046:PROGC ] Exe's 0 0
0
BUILD: [00:0000000047:PROGC ] Resx 0 0
0
BUILD: [00:0000000048:PROGC ] Csharp Targets 0 0
0
BUILD: [00:0000000049:PROGC ] Other 0 5
1
BUILD: [00:0000000050:PROGC ]
BUILD: [00:0000000051:PROGC ] Total 1 5
3
BUILD: [00:0000000052:PROGC ]
BUILD: [00:0000000053:PROGC ] 5 Warnings, 3 Errors

C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP>



.



Relevant Pages

  • Re: Problems compiling in Platform directory; in Public it works
    ... you need to download and install all QFE's for all installed processors ... Here's my sources file: ... but when compiling in ... illegal for switch / O ...
    (microsoft.public.windowsce.embedded)
  • Re: Shrink Wrap my EULA ?
    ... >> You may refuse to accept it and the install will be cancelled. ... >>> You have the right to refuse the EULA. ... >>> permits you as a party to the contract to refuse the terms of such. ... >>> you wanted an OEM version that included all the license documentation, ...
    (microsoft.public.windowsxp.general)
  • Re: Shrink Wrap my EULA ?
    ... > You may refuse to accept it and the install will be cancelled. ... >> You have the right to refuse the EULA. ... >> permits you as a party to the contract to refuse the terms of such. ... and other materials in the OEM package then you need to ...
    (microsoft.public.windowsxp.general)
  • Re: Windows Genuine Advantage Notifications application
    ... Windows since MS added its One Computer crap in the EULA over 13 years ... I think all this copy-protection crap actually ends up costing ... Then they should sue and prove their point. ... How many machines can the Apple users install on ...
    (microsoft.public.windowsxp.general)
  • Re: Shrink Wrap my EULA ?
    ... Your right to decline the EULA also occurs during install - that is why we ... You may refuse to accept it and the install will be cancelled. ... > you as a party to the contract to refuse the terms of such. ... and other materials in the OEM package then you need to ...
    (microsoft.public.windowsxp.general)

Loading