hello All
I'm trying to compile the EPassThru example with the Windows DDK Server 2003
on a Windows 2000 environmnet... in Microsoft Visual Studio 6.0
I have also using the ddkbuild (free ware).... now I'm compiling
successfully on one of the computers but failing on the other one...
The envrionment is quite the same on both:
running windows 2000
env variable is set to W2KBASE c:\WINNT
Visual Studio 6.0 IDE
the directory path for both are c:\d\CProjects\TDI-NDIS\EPassThru
I'm using ddkbuild from Hollis Technology solution on both and run the bat
file the same way and have the same project setting on both...
and here is the error I'm getting on the pc... its basically error on one of
the .h files which is exact copy of the same in on the other laptop.. I
assume there should be some settings that I'm not aware of... could you
please help me????
Deleting intermediate files and output files for project 'EPassThru - Win32
Debug'.
--------------------Configuration: EPassThru - Win32
Debug--------------------
DDKBUILD VERSION 3.9.27 FREEWARE FROM HOLLIS TECHNOLOGY SOLUTIONS
Comments? Suggestions? info@hollistech.com
New or updated MSVC detected. Updating DDK environment....
Setting environment for using Microsoft Visual C++ tools.
Starting dirs creation...Completed.
DDKBUILD using W2K DDK in directory .
for checked version (basedir c:\NTDDK extension chk)
commandline: "build -cfe "
BUILD: Object root set to: ==> objchk
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Loading c:\NTDDK\build.dat...
BUILD: Computing Include file dependencies:
BUILD: c:\program files\microsoft visual studio\vc98\include\exdisp.odl(31):
c:\program files\microsoft visual studio\vc98\include\exdisp.odl - invalid
include statement: importlib(STDOLE_TLB);
BUILD: c:\program files\microsoft visual studio\vc98\include\vidsvr.odl(16):
c:\program files\microsoft visual studio\vc98\include\vidsvr.odl - invalid
include statement: importlib(STDOLE_TLB);
BUILD: c:\progra~1\micros~3\vc98\include\exdisp.odl(31):
c:\progra~1\micros~3\vc98\include\exdisp.odl - invalid include statement:
importlib(STDOLE_TLB);
BUILD: c:\progra~1\micros~3\vc98\include\vidsvr.odl(16):
c:\progra~1\micros~3\vc98\include\vidsvr.odl - invalid include statement:
importlib(STDOLE_TLB);
BUILD: Examining c:\epassthru directory for files to compile.
c:\epassthru
c:\epassthru - 6 source files (4,481 lines)
BUILD: Saving c:\NTDDK\build.dat...
BUILD: Compiling c:\epassthru directory
Compiling Precompiled Header - precomp.h for i386
ptextend.h(130) : error C2146: syntax error : missing ')' before identifier
'pIrp'
ptextend.h(130) : error C2081: 'PIRP' : name in formal parameter list
illegal
ptextend.h(130) : error C2061: syntax error : identifier 'pIrp'
ptextend.h(130) : error C2059: syntax error : ';'
ptextend.h(131) : error C2059: syntax error : ')'
ptextend.h(141) : error C2146: syntax error : missing ')' before identifier
'pIrp'
ptextend.h(141) : error C2081: 'PIRP' : name in formal parameter list
illegal
ptextend.h(141) : error C2061: syntax error : identifier 'pIrp'
ptextend.h(141) : error C2059: syntax error : ';'
ptextend.h(142) : error C2059: syntax error : ')'
ptextend.h(147) : error C2146: syntax error : missing ')' before identifier
'pIrp'
ptextend.h(147) : error C2081: 'PIRP' : name in formal parameter list
illegal
ptextend.h(147) : error C2061: syntax error : identifier 'pIrp'
ptextend.h(147) : error C2059: syntax error : ';'
ptextend.h(148) : error C2059: syntax error : ')'
ptextend.h(153) : error C2146: syntax error : missing ')' before identifier
'pIrp'
ptextend.h(153) : error C2081: 'PIRP' : name in formal parameter list
illegal
ptextend.h(153) : error C2061: syntax error : identifier 'pIrp'
ptextend.h(153) : error C2059: syntax error : ';'
ptextend.h(154) : error C2059: syntax error : ')'
Compiling Precompiled Header - precomp.h for i386
ptextend.h(130) : error C2146: syntax error : missing ')' before identifier
'pIrp'
ptextend.h(130) : error C2081: 'PIRP' : name in formal parameter list
illegal
ptextend.h(130) : error C2061: syntax error : identifier 'pIrp'
ptextend.h(130) : error C2059: syntax error : ';'
ptextend.h(131) : error C2059: syntax error : ')'
ptextend.h(141) : error C2146: syntax error : missing ')' before identifier
'pIrp'
ptextend.h(141) : error C2081: 'PIRP' : name in formal parameter list
illegal
ptextend.h(141) : error C2061: syntax error : identifier 'pIrp'
ptextend.h(141) : error C2059: syntax error : ';'
ptextend.h(142) : error C2059: syntax error : ')'
ptextend.h(147) : error C2146: syntax error : missing ')' before identifier
'pIrp'
ptextend.h(147) : error C2081: 'PIRP' : name in formal parameter list
illegal
ptextend.h(147) : error C2061: syntax error : identifier 'pIrp'
ptextend.h(147) : error C2059: syntax error : ';'
ptextend.h(148) : error C2059: syntax error : ')'
ptextend.h(153) : error C2146: syntax error : missing ')' before identifier
'pIrp'
ptextend.h(153) : error C2081: 'PIRP' : name in formal parameter list
illegal
ptextend.h(153) : error C2061: syntax error : identifier 'pIrp'
ptextend.h(153) : error C2059: syntax error : ';'
ptextend.h(154) : error C2059: syntax error : ')'
Compiling - passthru.rc for i386
Compiling - miniport.c for i386
miniport.c(30) : error C1083: Cannot open precompiled header file:
'objchk\i386\precomp.pch': No such file or directory
Compiling - passthru.c for i386
passthru.c(31) : error C1083: Cannot open precompiled header file:
'objchk\i386\precomp.pch': No such file or directory
Compiling - protocol.c for i386
protocol.c(31) : error C1083: Cannot open precompiled header file:
'objchk\i386\precomp.pch': No such file or directory
Compiling - ptextend.c for i386
ptextend.c(4) : error C1083: Cannot open precompiled header file:
'objchk\i386\precomp.pch': No such file or directory
BUILD: Compile errors: not linking c:\epassthru directory
BUILD: Done
7 files compiled - 44 Errors
=============== build warnings ======================
cl -nologo
/Tc -Ii386\ -I. -Ic:\NTDDK\inc -Ic:\NTDDK\inc -Ic:\NTDDK\inc -Ic:\NTDDK\inc\
ddk -Ic:\NTDDK\inc\ddk\wdm -Ic:\NTDDK\private\inc -Ic:\NTDDK\inc -D_X86_=1 -
Di386=1 -DSTD_CALL -DCONDITION_HANDLING=1 -DNT_UP=1 -DNT_INST=0 -DWIN32=100
-D_NT1
X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x0501 -D
WIN32_LEAN_AND_MEAN=1 -DDBG=1 -DDEVL=1 -DFPO=0 -DNDEBUG -D_DLL=1 -DNDIS40 -D
NDIS_MINIPORT_DRIVER -DNDIS40_MINIPORT -DNDIS40_MINIPORT=1 -DNDIS40=1 /c
/Zel /Zp8 /Gy
-cbstring /W3 /WX /Gz /QIfdiv- /QIf /QI0f /GB /Gi- /Gm- /GX- /GR- /GF -Z7
/Oxs /Oy- /FRC:\EPassThru\objchk\i386\ -FIc:\NTDDK\inc\warning.h
/Yuprecomp.h /Fpobjchk\i386\precomp.pch /YlPASSTHRU /Ycprecomp.h
/Fpobjchk\i386\precomp.pch /Fo"C:\EPassT
hru\objchk\i386\precomp.obj"
cl -nologo
/Tc -Ii386\ -I. -Ic:\NTDDK\inc -Ic:\NTDDK\inc -Ic:\NTDDK\inc -Ic:\NTDDK\inc\
ddk -Ic:\NTDDK\inc\ddk\wdm -Ic:\NTDDK\private\inc -Ic:\NTDDK\inc -D_X86_=1 -
Di386=1 -DSTD_CALL -DCONDITION_HANDLING=1 -DNT_UP=1 -DNT_INST=0 -DWIN32=100
-D_NT1
X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_WIN32_IE=0x0501 -D
WIN32_LEAN_AND_MEAN=1 -DDBG=1 -DDEVL=1 -DFPO=0 -DNDEBUG -D_DLL=1 -DNDIS40 -D
NDIS_MINIPORT_DRIVER -DNDIS40_MINIPORT -DNDIS40_MINIPORT=1 -DNDIS40=1 /c
/Zel /Zp8 /Gy
-cbstring /W3 /WX /Gz /QIfdiv- /QIf /QI0f /GB /Gi- /Gm- /GX- /GR- /GF -Z7
/Oxs /Oy- /FRC:\EPassThru\objchk\i386\ -FIc:\NTDDK\inc\warning.h
/Yuprecomp.h /Fpobjchk\i386\precomp.pch /YlPASSTHRU /Ycprecomp.h
/Fpobjchk\i386\precomp.pch /Fo"C:\EPassT
hru\objchk\i386\precomp.obj"
build complete
building browse information files
EPassThru.exe - 44 error(s), 0 warning(s)
Thank you for your help.....