Source to dsp.

Hi,
There is an example in WDM drivers (for Win XP) and the code is a user mode
dll driver. The example is “src\wdm\wia\wiacam”. My question is, if I use
“srctodsp” that creates the work space from the “sources” file, it says that
some of the macros are not know. The following are not supported.
UMTYPE
DYNLINK
DLLDEF
DLLENTRY
USE_CRTDLL

How to overcome this?

I also gave a try to put target type as DRIVER and fool it and later change
it in the dsw file. But, I am not very sure of changes to be done.

Please help me.


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

Src2dsp supports conversion for kernel mode drivers only.
For the user mode, it’s fairly easy to generate an empty .DLL
project using Visual Studio wizard and then simply
populate it with the .c/.cpp files found in Sources file.

  • Vitaly

On 06/21/01, ““Prasanna B R” ” wrote:
> Hi,
> There is an example in WDM drivers (for Win XP) and the code is a user mode
> dll driver. The example is “src\wdm\wia\wiacam”. My question is, if I use
> “srctodsp” that creates the work space from the “sources” file, it says that
> some of the macros are not know. The following are not supported.
> UMTYPE
> DYNLINK
> DLLDEF
> DLLENTRY
> USE_CRTDLL
>
> How to overcome this?
>
> I also gave a try to put target type as DRIVER and fool it and later change
> it in the dsw file. But, I am not very sure of changes to be done.
>
> Please help me.
>
>
> —
> 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 are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com