Hi,
Does anybody use the DDK sample “classpnp” before (in DDK
src\storage\class\classpnp directory)? I can not figure out how
the class.def is generated in this sample. Apparently, this
def file is automaticlly generated during the compiling.
There is one build command in sources file:
DLLDEF=$(O)\class.def
It looks like this command controls the def file generation. But
any change in this line (e. g. using different file name) will
give a compiling error:
don’t know how to make ‘classpnp.def’
Can anyone tell me why only “class.def” can be used in here? How can
I use other file name as def file name? Any info will be appreciated.
Thanks
did you rename class.src to classpnp.src when you changed the DLLDEF
line in sources?
-p
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@highstream.net
Sent: Tuesday, May 27, 2003 12:50 PM
To: NT Developers Interest List
Subject: [ntdev] a question in DDK sample
Hi,
Does anybody use the DDK sample “classpnp” before (in DDK
src\storage\class\classpnp directory)? I can not figure out how the
class.def is generated in this sample. Apparently, this def file is
automaticlly generated during the compiling.
There is one build command in sources file:
DLLDEF=$(O)\class.def
It looks like this command controls the def file generation. But any
change in this line (e. g. using different file name) will give a
compiling error:
don’t know how to make ‘classpnp.def’
Can anyone tell me why only “class.def” can be used in here? How can I
use other file name as def file name? Any info will be appreciated.
Thanks
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
See the explanation of DLLDEF in the .NET DDK. Classpnp uses class.src to
generate the ‘.def’ file, and that relationship is implicit through the
existance of class.src and the line you cite in the sources file.
Why are you trying to change this anyway? If you are building your own
modified classpnp, that might be the wrong way to go. Generally you want to
use the supplied classpnp
-----Original Message-----
From: xxxxx@highstream.net [mailto:xxxxx@highstream.net]
Sent: Tuesday, May 27, 2003 3:50 PM
To: NT Developers Interest List
Subject: [ntdev] a question in DDK sample
Hi,
Does anybody use the DDK sample “classpnp” before (in DDK
src\storage\class\classpnp directory)? I can not figure out how the
class.def is generated in this sample. Apparently, this def file is
automaticlly generated during the compiling.
There is one build command in sources file:
DLLDEF=$(O)\class.def
It looks like this command controls the def file generation. But
any change in this line (e. g. using different file name) will give a
compiling error:
don’t know how to make ‘classpnp.def’
Can anyone tell me why only “class.def” can be used in here? How can I use
other file name as def file name? Any info will be appreciated.
Thanks
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks all. It works now.
The class.src file is ONLY one file that I DID NOT look at.
BTW, I didn’t want to change the classpnp in this way. I just want
to figure out how to build a kernel dll so that I can wrap my
kernel functions into a kernel dll to let other drivers share them.
Thanks
---------- Original Message ----------------------------------
From: “Roddy, Mark”
Reply-To: “NT Developers Interest List”
Date: Tue, 27 May 2003 16:10:24 -0400
>
>See the explanation of DLLDEF in the .NET DDK. Classpnp uses class.src to
>generate the ‘.def’ file, and that relationship is implicit through the
>existance of class.src and the line you cite in the sources file.
>
>Why are you trying to change this anyway? If you are building your own
>modified classpnp, that might be the wrong way to go. Generally you want to
>use the supplied classpnp
>
>-----Original Message-----
>From: xxxxx@highstream.net [mailto:xxxxx@highstream.net]
>Sent: Tuesday, May 27, 2003 3:50 PM
>To: NT Developers Interest List
>Subject: [ntdev] a question in DDK sample
>
>
>Hi,
>Does anybody use the DDK sample “classpnp” before (in DDK
>src\storage\class\classpnp directory)? I can not figure out how the
>class.def is generated in this sample. Apparently, this def file is
>automaticlly generated during the compiling.
>There is one build command in sources file:
>
>DLLDEF=$(O)\class.def
>
>It looks like this command controls the def file generation. But
>any change in this line (e. g. using different file name) will give a
>compiling error:
>
>don’t know how to make ‘classpnp.def’
>
>Can anyone tell me why only “class.def” can be used in here? How can I use
>other file name as def file name? Any info will be appreciated.
>
>Thanks
>
>—
>You are currently subscribed to ntdev as: xxxxx@stratus.com To
>unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@highstream.net
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>