• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ketan Parekh
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
 
Abhijeet Nalawade
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!