RE: Sorry : Protocol driver installed. createfile(dosdevice..) : OK

At 11:31 02/03/2004, you wrote:

Hi,
How are you calling CreateFile i.e. calling it with dosdevice name or with
GUIID?
if you are calling it with dosdevice name then you will need to set it first.

Hope this help.
Dev
-----Original Message-----
From: Seek Boughattas
[mailto:xxxxxmailto:xxxxx@logique.jussieu.fr]
>Sent: Tuesday, March 02, 2004 3:40 PM
>To: Windows System Software Devs Interest List
>Subject: [ntdev] Sorry another : Protocol driver installed createfile
>:error 2
>
>Thank you for response
>
>– I installed successfull protocol driver in windows xp with “bindvew.exe”
>– I reboot
>– I "net start " my service
>– I call “createfile( …)” in my test.exe
>
>I have Error :2 ( The system cannot find the file specified.
>ERROR_FILE_NOT_FOUND )
>
>what wrong ?
>
>thank you —

Thank to you I learn …

Sorry CreateFile(…) return error because I dont set a dosdevice name .

Thank you for all.

Next step I will track my ProtocolBindAdapter ( BindAdapdaterHandler ) (
see if it’s called and who’s DeviceName parameter ) !!</mailto:xxxxx>

Call it like this

CreateFile(

               “\\.\ProtDevSymLnkNam”, x,y, …

);

Good Luck,



From: Sedki Boughattas

>Reply-To: “Windows System Software Devs Interest List”
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] Sorry : Protocol driver installed. createfile(dosdevice…) : OK
>Date: Tue, 02 Mar 2004 14:39:56 +0100
>
>At 11:31 02/03/2004, you wrote:
>
>>Hi,
>>How are you calling CreateFile i.e. calling it with dosdevice name
>>or with GUIID?
>>if you are calling it with dosdevice name then you will need to set
>>it first.
>>
>>Hope this help.
>>Dev
>>-----Original Message-----
>>From: Seek Boughattas
>>[mailto:xxxxxmailto:xxxxx@logique.jussieu.fr]
>>Sent: Tuesday, March 02, 2004 3:40 PM
>>To: Windows System Software Devs Interest List
>>Subject: [ntdev] Sorry another : Protocol driver installed
>>createfile :error 2
>>
>>Thank you for response
>>
>>– I installed successfull protocol driver in windows xp with
>>“bindvew.exe”
>>– I reboot
>>– I "net start " my service
>>– I call “createfile( …)” in my test.exe
>>
>>I have Error :2 ( The system cannot find the file specified.
>>ERROR_FILE_NOT_FOUND )
>>
>>what wrong ?
>>
>>thank you —
>
>
>Thank to you I learn …
>
>Sorry CreateFile(…) return error because I dont set a
>dosdevice name .
>
>Thank you for all.
>
>Next step I will track my ProtocolBindAdapter (
>BindAdapdaterHandler ) ( see if it’s called and who’s DeviceName
> parameter ) !!
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to
>xxxxx@lists.osr.com
</mailto:xxxxx>


Easiest Money Transfer to India . Send Money To 6000 Indian Towns. Easiest Way To Send Money Home!