Urgent Help

Dear all,
When I try to set Freebuild or Checkbuild environment
manually or graphically ,I get the following error.I think I have
problems with my setenv …variable…I installed My DDK in my D:
drive…I work in Win NT4. os…please do help me as auick as possible.

“The name specified is not recognized as an
internal or external command, operable program or batch file.”

  1. First I installed my Visual Studio 6
  2. Then DDK
  3. Then SDK.

Is this procedure right…or I have to install SDK and DDK…

Please do help me…

thanking you
Jai & Jai


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Be aware to compile in a CMD.EXE window, and NOT in a COMMAND.COM window.
COMMAND.COM has restrictions on environment variables.

-----Original Message-----
From: Jayachandran.B [mailto:xxxxx@miel.mot.com]
Sent: Monday, January 15, 2001 4:36 PM
To: NT Developers Interest List
Subject: [ntdev] Urgent Help

Dear all,
When I try to set Freebuild or Checkbuild environment
manually or graphically ,I get the following error.I think I have
problems with my setenv …variable…I installed My DDK in my D:
drive…I work in Win NT4. os…please do help me as auick as possible.

“The name specified is not recognized as an
internal or external command, operable program or batch file.”

  1. First I installed my Visual Studio 6
  2. Then DDK
  3. Then SDK.

Is this procedure right…or I have to install SDK and DDK…

Please do help me…

thanking you
Jai & Jai


You are currently subscribed to ntdev as: xxxxx@lucent.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

How are you setting the environment? The easiest way is via the Checked and
Free icons in the DDK menu item. Barring that, run “setting” at a command
line and read the help information that it will print out. Barring THAT,
change directories to D:\DDK\BIN and run setting again.

Gary

-----Original Message-----
From: Jayachandran.B [mailto:xxxxx@miel.mot.com]
Sent: Monday, January 15, 2001 7:36 AM
To: NT Developers Interest List
Subject: [ntdev] Urgent Help

Dear all,
When I try to set Freebuild or Checkbuild environment
manually or graphically ,I get the following error.I think I have
problems with my setenv …variable…I installed My DDK in my D:
drive…I work in Win NT4. os…please do help me as auick as possible.

“The name specified is not recognized as an
internal or external command, operable program or batch file.”

  1. First I installed my Visual Studio 6
  2. Then DDK
  3. Then SDK.

Is this procedure right…or I have to install SDK and DDK…

Please do help me…

thanking you
Jai & Jai


You are currently subscribed to ntdev as: xxxxx@delphieng.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You may use Visual Studio IDE
Try the following options:

For the compiler:

/Gz /MLd /W3 /Zi /Oi /Gy /I “d:\ntddk\inc” /I “d:\ntddk\inc\ddk”
/FI"d:\ntddk\inc\warning.h" /D X86=1 /D i386=1 /D “STD_CALL” /D
CONDITION_HANDLING=1 /D NT_UP=1 /D NT_INST=0 /D WIN32=100 /D NT1X=100 /D
WINNT=1 /D _WIN32_WINNT=0x0500 /D WINVER=0x0500 /D _WIN32_IE=0x0501 /D
WIN32_LEAN_AND_MEAN=1 /D DBG=1 /D DEVL=1 /D FPO=0 /D “NDEBUG” /D _DLL=1 /D
“NDBGPRT_INCLUDE_THREAD_ID” /D “REDIRECT” /FR"Debug/" /Fo"Debug/"
/Fd"Debug/" /Zel -cbstring /QIfdiv- /QIf /QI0f /GF /c

For the linker:

ntoskrnl.lib hal.lib kernel32.lib /base:“0x10000” /version:5.0
/stack:0x40000,0x1000 /entry:“DriverEntry@8” /incremental:no
/pdb:“Debug/testdrv.pdb” /map:“Debug/testdrv.map” /debug /machine:IX86
/nodefaultlib /out:“Debug\testdrv.sys” /libpath:“d:\ntddk\libchk\i386”
-MERGE:_PAGE=PAGE -MERGE:_TEXT=.text -SECTION:INIT,d -OPT:REF -OPT:ICF
-IGNORE:4001,4037,4039,4044,4065,4070,4078,4087,4089,4198 -FULLBUILD
-FORCE:MULTIPLE -NOCOMMENT /release -debug:FULL -osversion:5.00 -optidata
-driver -align:0x20 -subsystem:native,5.00

-----Original Message-----
From: Jayachandran.B [mailto:xxxxx@miel.mot.com]
Sent: Monday, January 15, 2001 10:36 AM
To: NT Developers Interest List
Subject: [ntdev] Urgent Help

Dear all,
When I try to set Freebuild or Checkbuild environment
manually or graphically ,I get the following error.I think I have
problems with my setenv …variable…I installed My DDK in my D:
drive…I work in Win NT4. os…please do help me as auick as possible.

“The name specified is not recognized as an
internal or external command, operable program or batch file.”

  1. First I installed my Visual Studio 6
  2. Then DDK
  3. Then SDK.

Is this procedure right…or I have to install SDK and DDK…

Please do help me…

thanking you
Jai & Jai


You are currently subscribed to ntdev as: xxxxx@netactive.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

The correct order of installation for the NT4 DDK is:

Visual Studio (see note below)
PlatformSDK
NT4 DDK

Note on Visual Studio installation: do not use the default installation
path. Some DDK tools have problems with file pathnames that contain spaces,
such as “C:\Program Files\Microsoft Visual Studio\VC98\Bin\cl.exe”. Instead,
install visual studio in a path that does not contain embedded spaces.

Once installed, the Microsoft-documented method for building drivers is to
open a command shell using the shortcuts installed by the DDK in your Start
menu for a checked or free build. These shell windows have the appropriate
environment variables set, and you should then be able to change directory
to the location of your driver sources and execute ‘build’.

Once you have the Microsoft-documented method working, you might want to
look at some of the alternatives for building drivers using the Visual
Studio IDE. My website has some information about one of these methods, and
some links to other ‘wizard’ based methods.

Mark Roddy
Windows 2000/NT Consultant
Hollis Technology Solutions
www.hollistech.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Jayachandran.B
Sent: Monday, January 15, 2001 10:36 AM
To: NT Developers Interest List
Subject: [ntdev] Urgent Help

Dear all,
When I try to set Freebuild or Checkbuild environment
manually or graphically ,I get the following error.I think I have
problems with my setenv …variable…I installed My DDK in my D:
drive…I work in Win NT4. os…please do help me as auick as possible.

“The name specified is not recognized as an
internal or external command, operable program or batch file.”

  1. First I installed my Visual Studio 6
  2. Then DDK
  3. Then SDK.

Is this procedure right…or I have to install SDK and DDK…

Please do help me…

thanking you
Jai & Jai


You are currently subscribed to ntdev as: xxxxx@wattanuck.mv.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Jay

I think you must re-install DDK. The order is first SDK and then DDK. How
dou you set the environment? Using the Start Menu Item? The error message
seems to be indicating an invalid shortcut. The batchfile which sets the
proper environment variables is missing.

Jojan

-----Original Message-----
From: Jayachandran.B [mailto:xxxxx@miel.mot.com]
Sent: Monday, January 15, 2001 9:06 PM
To: NT Developers Interest List
Subject: [ntdev] Urgent Help

Dear all,
When I try to set Freebuild or Checkbuild environment
manually or graphically ,I get the following error.I think I have
problems with my setenv …variable…I installed My DDK in my D:
drive…I work in Win NT4. os…please do help me as auick as possible.

“The name specified is not recognized as an
internal or external command, operable program or batch file.”

  1. First I installed my Visual Studio 6
  2. Then DDK
  3. Then SDK.

Is this procedure right…or I have to install SDK and DDK…

Please do help me…

thanking you
Jai & Jai


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com