Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. sir,can you help me?

sir,can you help me?

Scheduled Pinned Locked Moved Hardware & Devices
questionhelp
6 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    momer
    wrote on last edited by
    #1

    Hi! I had download the source code of mass storage device driver for windows98 from Microsoft websit.And builded it with 98ddk on windows98 system,and then installed it on win98 system. It can work correctly all the time. If I suddenly remove the device from pc when copying file from pc to device or from device to pc on win98 system,the blue screen occur,and i have to restart my system. But if do the same on win2000 or winxp there is no blue screen. Now i wanna modify the driver source code to avoid the blue screen when suddently remove the device while it is exchanging data with pc on win98 system. My question is: 1,If my hope has the possibility to come true? 2,If has,then which part of source code of this drive should i have to modify,and what couses the blue screen? I know that in the source code it just abort all the pipes when device remove sudently but nothing else. Thanks! momer All the blesses we are enjoy are the fruit of labor,toil,study and self-denail.

    L 2 Replies Last reply
    0
    • M momer

      Hi! I had download the source code of mass storage device driver for windows98 from Microsoft websit.And builded it with 98ddk on windows98 system,and then installed it on win98 system. It can work correctly all the time. If I suddenly remove the device from pc when copying file from pc to device or from device to pc on win98 system,the blue screen occur,and i have to restart my system. But if do the same on win2000 or winxp there is no blue screen. Now i wanna modify the driver source code to avoid the blue screen when suddently remove the device while it is exchanging data with pc on win98 system. My question is: 1,If my hope has the possibility to come true? 2,If has,then which part of source code of this drive should i have to modify,and what couses the blue screen? I know that in the source code it just abort all the pipes when device remove sudently but nothing else. Thanks! momer All the blesses we are enjoy are the fruit of labor,toil,study and self-denail.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I believe Win98 cannot detect automatically when the device is removed the use has to tell it via the system tray. Automatic detection was one of the additions to Win2k which is, of course, a different driver model. Elaine :rose: The tigress is here :-D

      M 2 Replies Last reply
      0
      • L Lost User

        I believe Win98 cannot detect automatically when the device is removed the use has to tell it via the system tray. Automatic detection was one of the additions to Win2k which is, of course, a different driver model. Elaine :rose: The tigress is here :-D

        M Offline
        M Offline
        momer
        wrote on last edited by
        #3

        Hi!Elaine, Yeah,I agree with you! Thank you very much! momer

        1 Reply Last reply
        0
        • L Lost User

          I believe Win98 cannot detect automatically when the device is removed the use has to tell it via the system tray. Automatic detection was one of the additions to Win2k which is, of course, a different driver model. Elaine :rose: The tigress is here :-D

          M Offline
          M Offline
          momer
          wrote on last edited by
          #4

          Yeah,I agree with you. Thank you very much!

          1 Reply Last reply
          0
          • M momer

            Hi! I had download the source code of mass storage device driver for windows98 from Microsoft websit.And builded it with 98ddk on windows98 system,and then installed it on win98 system. It can work correctly all the time. If I suddenly remove the device from pc when copying file from pc to device or from device to pc on win98 system,the blue screen occur,and i have to restart my system. But if do the same on win2000 or winxp there is no blue screen. Now i wanna modify the driver source code to avoid the blue screen when suddently remove the device while it is exchanging data with pc on win98 system. My question is: 1,If my hope has the possibility to come true? 2,If has,then which part of source code of this drive should i have to modify,and what couses the blue screen? I know that in the source code it just abort all the pipes when device remove sudently but nothing else. Thanks! momer All the blesses we are enjoy are the fruit of labor,toil,study and self-denail.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            If you want to find what part of your coder BSODed the PC, run a debug version, and after the crash, get the DMP file form the windows directory, and analyse it with DbgView.exe. You need to set the paths of the source code files and the path to the pdb files. Nunc est bibendum

            M 1 Reply Last reply
            0
            • L Lost User

              If you want to find what part of your coder BSODed the PC, run a debug version, and after the crash, get the DMP file form the windows directory, and analyse it with DbgView.exe. You need to set the paths of the source code files and the path to the pdb files. Nunc est bibendum

              M Offline
              M Offline
              momer
              wrote on last edited by
              #6

              Hi! fat_boy, Thank you very much!I will have a try.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups