Code Monkey home page Code Monkey logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Hi I'm a bit lost :-)

One question:

javahidapi 32 bits dll does work with XP (32bits) installed in 64 hardware 
computer? No I suppose because seems to be why I've got an error calling 
listDevices method.

I installed VS 2008 in OS WinXP in 64 hardware computer: 
I didn't found x64 option for 64 bits compilation of javahidapi. Someone could 
tell me how to do it? Windows OS too ahve to be 64bits?

Thx!!!


Original comment by [email protected] on 31 Jul 2012 at 4:46

from javahidapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
To compile project in x64 using  VS 2008 you need install  x64 compiler. By 
default this compiler does not installed. You need to use VS installation  in 
order to do this

Original comment by [email protected] on 1 Aug 2012 at 10:06

from javahidapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
[deleted comment]

from javahidapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Hi,

thank you very much. I installed x64 compiler and I compiled it with success.

I tried lib and works with Windows XP with x64 arch computer.
It fails with Windows 7 (Home Premium) BUT does work with Windows 7 in virtual 
machine installes on Linux x64 (Fedora 17).

With Windows 7 Premium 64 bits I've got same error as below:

java.io.IOException:
        at com.codeminders.hidapi.HIDManager.listDevices(Native Method)
        at cbgp.hdi.AdministradorHDI.getInstance(AdministradorHDI.java:67)
        at cbgp.CodigoBarrasGP.main(CodigoBarrasGP.java:92)

Any idea?

Original comment by [email protected] on 1 Aug 2012 at 4:12

from javahidapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Hi,

I've got it but it's an horrible task to complete... I suggest you should fix 
it.

If you same error is "so simple" to fix it... :s

1) create env var "devmgr_show_nonpresent_devices" put it value "1"
2) open Device Manager
3) Menu click on View then show hidden devices
4) uninstall all the faded entries (Generic USB Hub, USB devices, etc.) and 
close window
5) Search file INFCACHE.1 (commonly in C:\window\system32 or 
C:\Windows\System32\Driver Store) and DELETE IT. It will force Windows to 
regenerate a new one with actualized cache


Barbarian way to find a work around. 3 days without sleeping.

Hope it could help!!!

Original comment by [email protected] on 1 Aug 2012 at 5:16

from javahidapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.