none
build process for wdk samples in visual studio 2012? RRS feed

  • Question

  • Iam using the dsf sample c++ code for softhidreceiver and I am wondering if possible how I can use it in a visual studio c++ project.  I am wanting to compile it into a custom c++ class along with the dsfif.h, softehci.h, softusbif.h headers. I am using wdk 7.1 (I think I can setup custom build properties inside of visual studio but how do I do this?)

    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr

    Wednesday, June 5, 2013 2:48 PM

Answers

  • The Win8 WDK has a conversion tool for converting a Win7 project to Win8, see http://msdn.microsoft.com/en-us/library/windows/hardware/hh454230(v=vs.85).aspx  for information.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by The Thinker Wednesday, June 5, 2013 4:41 PM
    Wednesday, June 5, 2013 2:57 PM
  • Did you install the Win8 WDK correctly?  If you see a Drivers menu in Visual Studio 2012 it should be correct.  The tool is in the WDK under Bin then under the x86 and x64 directories.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by The Thinker Wednesday, June 5, 2013 4:41 PM
    Wednesday, June 5, 2013 3:45 PM

All replies

  • The Win8 WDK has a conversion tool for converting a Win7 project to Win8, see http://msdn.microsoft.com/en-us/library/windows/hardware/hh454230(v=vs.85).aspx  for information.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by The Thinker Wednesday, June 5, 2013 4:41 PM
    Wednesday, June 5, 2013 2:57 PM
  • The Win8 WDK has a conversion tool for converting a Win7 project to Win8, see http://msdn.microsoft.com/en-us/library/windows/hardware/hh454230(v=vs.85).aspx  for information.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr


     Iam just wondering if I need for the windows 7 c++ code if I could use the wdk compiler or set my visual studio settings to mimic those of the wdk compiler. Don that is an interesting link +1 (keep it in mind for later)!   edit:I might be able to use that program to help me compile the dsf sample code or include in my project.

    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr






    • Edited by The Thinker Wednesday, June 5, 2013 3:22 PM
    Wednesday, June 5, 2013 3:08 PM
  • I installed wdk and that executable is not their.

    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr

    Wednesday, June 5, 2013 3:38 PM
  • Did you install the Win8 WDK correctly?  If you see a Drivers menu in Visual Studio 2012 it should be correct.  The tool is in the WDK under Bin then under the x86 and x64 directories.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by The Thinker Wednesday, June 5, 2013 4:41 PM
    Wednesday, June 5, 2013 3:45 PM
  • Did you install the Win8 WDK correctly?  If you see a Drivers menu in Visual Studio 2012 it should be correct.  The tool is in the WDK under Bin then under the x86 and x64 directories.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr


    It now lets me debug using the wdk debugger from the vs 2012 debug menu. I do see a drivers list too. So at least I can compile and test the code if anything.

    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr

    Wednesday, June 5, 2013 4:01 PM
  • found the program thanks iam trying it now!

    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr


    • Edited by The Thinker Wednesday, June 5, 2013 4:03 PM
    Wednesday, June 5, 2013 4:03 PM
  • Don I found the documentation and it said I could open the sources file in visual studio and it makes a project for me without dealing with nmake2msbuild. So I tried it and that is so much easier then fooling around trying to make a correct project configuration.

    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr


    • Edited by The Thinker Wednesday, June 5, 2013 4:40 PM
    Wednesday, June 5, 2013 4:40 PM
  • note that DSF is not in the win8 WDK at all

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Wednesday, June 5, 2013 6:50 PM
  • note that DSF is not in the win8 WDK at all

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.


    I know I just wanted to create projects of some source code to make it manageable. I decided to convert my vbscript code to c++ since it was working and Iam about 25% to 1/3 of the way done already (referencing some older posts in which nancy posted some help). its the second half that's a little tricky. for some reason I can limit the problems to the softhidreceiver.dll file in vb.net not liking me executing it from managed code so I will create a custom c++ com dll library to wrap around it and other code to make it easier to program this.

    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr



    • Edited by The Thinker Wednesday, June 5, 2013 7:47 PM
    Wednesday, June 5, 2013 7:44 PM