PICcoder.co.uk Forum  


::post new topic::
Re:C# PIC18F4550 USB demo does not work
Date: 2008/03/14 19:13 By: Peter Neutelings Status: Visitor  
 
This is not a Microsoft problem:
The reason you need to be admin is that the function MPUSBIsVidPidEqual in the Microchip supplied dll opens the registry with an access mask KEY_ALL_ACCESS in the call to RegOpenKeyEx.
Replace KEY_ALL_ACCESS with the more modest access mask KEY_QUERY_VALUE, and recompile. Now you won't need admin rights anymore.
reply | quote


      Topics Author Date
    thread link
C# PIC18F4550 USB demo does not work
loco 2008/02/29 12:26
    thread link
thread linkthread link Re:C# PIC18F4550 USB demo does not work
YTH 2008/03/06 13:07
    thread link
thread linkthread linkthread link Re:C# PIC18F4550 USB demo does not work
loco 2008/03/10 08:26
    thread link
thread linkthread linkthread linkthread link Re:C# PIC18F4550 USB demo does not work
Peter Neutelings 2008/03/14 19:13
::post new topic::