• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RXTX in Windows 7 64 bits

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

I've developed a software that exchanges messages with a hardware using JavaComm.
As JavaComm doesnt have x64 support, so I had to change to RXTX.

This activity was fine and easy.

Now I have my software working in Windows XP 32 bits and Windows 7 64 bits...

But, In Windows 7 64 bits, RXTX doesnt work very well.
In XP system, the exchange is very quickly and stable.
In Windows 7 it isnt stable, I receive a message, after while I receive another, It is not so fast like in Windows XP.

Some points:
- The version of software is the same for both
- The machine that works in Windows 7 is better than Windows XP

Could you help me about it?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The DLLs you installed from RXTX: are they 32-bit DLLs or are they 64-bit DLLs?
 
Vinicius Soares
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DLLs are 64bits for Windows 7 64 bits.

I think that it doesnt work when I use 32 bits DLLs in Windows 7 64 bits
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I just saw this thread after I posted a question about RXTX and Windows 7. My problem is that RXTX causes my application to crash when I try to close a connection to a serial port. Otherwise it works fine. Have you had this happen? Were you able to fix it?

Thanks,
Bill
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Vinicius Soares wrote:DLLs are 64bits for Windows 7 64 bits.

I think that it doesnt work when I use 32 bits DLLs in Windows 7 64 bits


It actually depends. It's not the operating system (Windows) that determines whether or not you can use the DLLs, but the application that's using them.

If you use a 64-bit JVM, you need to use a 64-bit DLL. If you use a 32-bit JVM, you need to use a 32-bit DLL, even if you're running the JVM on a 64-bit Windows. The same holds for several other resources; ODBC data sources are one I've encountered already. 64-bit applications cannot use 32-bit ODBC data sources and vice versa.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bill Doss wrote:Hi,

I just saw this thread after I posted a question about RXTX and Windows 7. My problem is that RXTX causes my application to crash when I try to close a connection to a serial port. Otherwise it works fine. Have you had this happen? Were you able to fix it?

Thanks,
Bill



Hi Bill,

We are also facing this problem. Could you please help me in finding out the solution for this?

Thanks
Sandeep
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic