On Tue, Nov 29, 2011 at 12:06 PM, Safoura <s.seddig...@gmail.com> wrote:
> Hello
>
> Please see the links here:
> Here is my code (partially):
>
> http://pastebin.com/u/safoura

So the following line does not work, right?
                                p =
r.exec(".\\python\\Manager\\Manager.exe",null,null);

But if you run Manager.exe, it works, right?

How about the following line you commented out? Does it work?
                                //p = r.exec("cmd /c
c:\\python26\\python .\\python\\Manager.py");

If the above works, then you have to check how r.exec() works
under Java.

Just a guess here, what if you try an absolute path for Manager.exe
instead of ".\\python\\Manager\\Manager.exe"?

> and here is the wedomore.py written by Ian Daniher that I have used
> in my python code.
>
> https://github.com/itdaniher/WeDoMore/blob/master/WeDoMore.py
>
> Note that I call the executable python (Manager.exe) that I have created using
> pyInstaller-1.5.1.
>
> I tried both the info-Wiz(located inside the libusb-bin-1.2.5 main folder and
> the "install-filter-win" inside the bin->x86; still not working.

You use only one of them normally. If you want to keep the original
Windows HID driver,
you use the Filter driver. If you do not want to keep the original
Windows HID driver,
then you use the inf-wizard to install the device driver.

In any case, libusb-win32 is not the issue here as Manager.exe works.

-- 
Xiaofan

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to