CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Location
    somwhere nearby
    Posts
    150

    Driver Testing an error occured deploying the driver(s) in the solution:The system...

    I am trying to create a very simple WDM driver in Visual Studio 2013. I have successfully provisioned a virtual pc running win7 sp1 x86 on a wmware machine using serial port. Now that i want to debug the driver, i get the error :
    Driver Testing an error occurred deploying the driver(s) in the solution : The system can not find the file specified.


    What is the cause here and how can i solve this problem?
    Here is the snapshot showing the error along with the driver code itself
    Name:  debugg vs2013.jpg
Views: 3743
Size:  90.0 KB
    It is driving me insane, its been almost two weeks that i am struggling to get the very basic sample to compile and run, without any luck!
    I would be grateful if anyone can help me solve this problem

  2. #2
    Join Date
    Jul 2007
    Location
    somwhere nearby
    Posts
    150

    Re: Driver Testing an error occured deploying the driver(s) in the solution:The syste

    Any help ? seriously ? Has no one else even tried this?

  3. #3
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    894

    Re: Driver Testing an error occured deploying the driver(s) in the solution:The syste

    Dude, I can only offer to say that I'm in the same boat as you -- meaning that it is virtually impossible to find any resources on this subject. It almost feels like there are 5 people in the whole world who know how to develop Windows drivers, and they don't want to share the secret... I even have a hard time finding the correct forums to post questions. (In my case, in despite of an extensive experience with C/C++/x86 assembler, I now need to learn how to program windows device drivers. I'll PM you more details...)

    From what I see on your screenshot, I'd look into your "driver_com", especially where it tries to connect to it, i.e. "\\.\pipe\driver_com". That is where your ERROR_FILE_NOT_FOUND is coming from.

    Other than that, from my own experience debugging via a VM -- this can be quite tricky. I debug using VMware Workstation 9 and it doesn't always cooperate with VS. Thus my preferred method though is to use some soft of text logging instead. (It is less convenient but is more reliable.) I'd usually write my output into a simple text file. Although, I'm not sure what kind of a driver you're developing and whether or not writing to a file system is available?

  4. #4
    Join Date
    Jul 2007
    Location
    somwhere nearby
    Posts
    150

    Re: Driver Testing an error occured deploying the driver(s) in the solution:The syste

    Quote Originally Posted by dc_2000 View Post
    Dude, I can only offer to say that I'm in the same boat as you -- meaning that it is virtually impossible to find any resources on this subject. It almost feels like there are 5 people in the whole world who know how to develop Windows drivers, and they don't want to share the secret... I even have a hard time finding the correct forums to post questions. (In my case, in despite of an extensive experience with C/C++/x86 assembler, I now need to learn how to program windows device drivers. I'll PM you more details...)

    From what I see on your screenshot, I'd look into your "driver_com", especially where it tries to connect to it, i.e. "\\.\pipe\driver_com". That is where your ERROR_FILE_NOT_FOUND is coming from.

    Other than that, from my own experience debugging via a VM -- this can be quite tricky. I debug using VMware Workstation 9 and it doesn't always cooperate with VS. Thus my preferred method though is to use some soft of text logging instead. (It is less convenient but is more reliable.) I'd usually write my output into a simple text file. Although, I'm not sure what kind of a driver you're developing and whether or not writing to a file system is available?
    Thanks alot
    yes info on driver development on windows is scarce indeed and really hard to follow up .
    any way, i asked my question at MSDN and here is the link to my problem and how to solve it .
    http://social.msdn.microsoft.com/For...stem?forum=wdk

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured