This week's book giveaways are in the Jython/Python and Object-Oriented programming forums.
We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Exception on connecting to Serial Com Port(Can't load the win32com.dll file)

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to connect to serial port com4 but it gives me exception that It cannot load the win32com.dll

Exception :- Error loading win32com: java.lang.UnsatisfiedLinkError: C:\Windows\System32\win32com.dll: Can't load this .dll (machine code=0x0) on a IA 32-bit platform
I am running a enumerator to get all the ports and trying to connect to port COM4 but enumerator is returned null with the above error message.

I tried putting comm.jar in JAVA_HOME\lib, JAVA_HOME\jre\ext
javax.common.properties in JAVA_HOME\lib , JAVA_HOME\jre\lib
and win32com.dll in windows\system32, JAVA_HOME\bin

I am using windows vista OS and jdk1.5.0_16.




Any Help is Appreciated.

thanks,
Ketan.B.Parekh
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I dont know the actual solution. Just check out if this helps you.
 
Ketan Parekh
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Abhijeet.
 
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!