none
More Problems with dsf from managed code RRS feed

  • Question

  • I am trying to get dsf working from managed code but I am having problems with it. For reference, most of the pictures and from a previous thread are the same still:

    http://social.msdn.microsoft.com/Forums/en-US/wdk/thread/2b4070f1-dfa8-4d30-847b-f2a6e7e4cb37

     I was trying to figure out what I was doing wrong with dsf from managed code because most of the configuration is the same whether from dsf or managed code. 

    Here's the code download link which is in vb.net but calls the same subs and functions as the vbscript:

    https://kinectmultipoint.codeplex.com/downloads/get/688522

    Here's some additional information I did not find out about in the previous thread though. I though it best to post a new thread to limit confusion because of the amount of information I needed to post in this thread. Here's what I found out so far:

    1. usbview gives me the same configuration when done from vb.net as when done from the working vbscript.

    2. finding the setupapi.dev.log file I made copies of it when I was using the vbscript code and another copy when using the vb.net code. The vb.net code appears to act similar to the vbscript except a mouse device is loaded correctly when the vbscript is loaded and additional files are copied according to the log file. However, this is not happening with the vb.net code. 

    3. Something is probably wrong with my variable types I have declared.

    4. I have my hexadecimal codes wrong (this is one option that kept popping into my mind when I thought about it but after reading the log files and looking at usbview it appears I might have them right).

    its a shame I am so close but then the process fails when I get to installing device drivers.  


    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



    Tuesday, June 4, 2013 2:13 PM

All replies

  • I am trying to get dsf working from managed code but I am having problems with it. For reference, most of the pictures and from a previous thread are the same still:

    http://social.msdn.microsoft.com/Forums/en-US/wdk/thread/2b4070f1-dfa8-4d30-847b-f2a6e7e4cb37

     I was trying to figure out what I was doing wrong with dsf from managed code because most of the configuration is the same whether from dsf or managed code. 

    Here's the code download link which is in vb.net but calls the same subs and functions as the vbscript:

    https://kinectmultipoint.codeplex.com/downloads/get/688522

    Here's some additional information I did not find out about in the previous thread though. I though it best to post a new thread to limit confusion because of the amount of information I needed to post in this thread. Here's what I found out so far:

    1. usbview gives me the same configuration when done from vb.net as when done from the working vbscript.

    2. finding the setupapi.dev.log file I made copies of it when I was using the vbscript code and another copy when using the vb.net code. The vb.net code appears to act similar to the vbscript except a mouse device is loaded correctly when the vbscript is loaded and additional files are copied according to the log file. However, this is not happening with the vb.net code. 

    3. Something is probably wrong with my variable types I have declared.

    4. I have my hexadecimal codes wrong (this is one option that kept popping into my mind when I thought about it but after reading the log files and looking at usbview it appears I might have them right).

    its a shame I am so close but then the process fails when I get to installing device drivers.  


    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




    I forgot to add the usb hubs I plug in act like they are supposed to in both instances but its the devices that are wrong. I would say iam defining some types wrong somewhere or doing something unecessary in code. Is nancy still on these forums?

    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


    Tuesday, June 4, 2013 4:15 PM