VxD probs helllppppp!!!!!!!


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: VxD probs helllppppp!!!!!!!

  1. #1
    Asher Hoodin Guest

    VxD probs helllppppp!!!!!!!


    I am loading a vxd in order to interface with a fiberoptic device. As an
    aside, it is not a network card per sec, no network protocols, but It does
    preform communication similar to serial communications at lightspeed.

    vxd_str = "\\\\.\\AAM4.VXD"
    hDevice = CreateFile( vxd_str,0,0,0,NULL,FILE_FLAG_DELETE_ON_CLOSE,0);
    err = GetLastError();

    I was getting an error 2,'file not found' for a while, then it just quit
    happening, and the vxd loaded consitantly.

    I had a previous installation that started working fine after a hiccup or
    two on a Pentium II 500 MHZ that I built for testing purposes. Now I am
    installing it on this new Pentium III 700MHZ and running into this problem.


    I didn't write the vxd. That programmer actually is rather stumped by my
    problem too.

    I tried to use the hint CREATE_NEW and OPEN_EXISTING for parameter 5 to no
    avail.

    anybody have any ideas?
    Asher

  2. #2
    Bill Tsai Guest

    Re: VxD probs helllppppp!!!!!!!


    Change (vxd_str = "\\\\.\\AAM4.VXD") to (vxd_str = "\\\\.\\AAM4")
    AAM4 should be the same name in VxD's DDB.
    and problem will be solved.


    "Asher Hoodin" <ahoodin@aam-ch.com> wrote:
    >
    >I am loading a vxd in order to interface with a fiberoptic device. As an
    >aside, it is not a network card per sec, no network protocols, but It does
    >preform communication similar to serial communications at lightspeed.
    >
    >vxd_str = "\\\\.\\AAM4.VXD"
    >hDevice = CreateFile( vxd_str,0,0,0,NULL,FILE_FLAG_DELETE_ON_CLOSE,0);
    >err = GetLastError();
    >
    >I was getting an error 2,'file not found' for a while, then it just quit
    >happening, and the vxd loaded consitantly.
    >
    >I had a previous installation that started working fine after a hiccup or
    >two on a Pentium II 500 MHZ that I built for testing purposes. Now I am
    >installing it on this new Pentium III 700MHZ and running into this problem.
    >
    >
    >I didn't write the vxd. That programmer actually is rather stumped by my
    >problem too.
    >
    >I tried to use the hint CREATE_NEW and OPEN_EXISTING for parameter 5 to

    no
    >avail.
    >
    >anybody have any ideas?
    >Asher



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center