C:\WINDOWS\win32com.dll: Can't load this .dll (machine code=0x0) on a IA 32
807589Aug 18 2008 — edited Oct 9 2008I am getting the following error when I run my java program on eclipse.
I get a pop up message saying
" The application or DLL C:\WINDOWS\wind32com.dll is not a valid windows image. please check this against your installation diskette"
I also get the following error in my console
"Error loading win32com: java.lang.UnsatisfiedLinkError: C:\WINDOWS\win32com.dll: Can't load this .dll (machine code=0x0) on a IA 32-bit platformI also get this error in the console"
I have included comm.jar in my eclipse build path as well as the user variables classpath.
I have also included comm in the C:\Program Files\java\jre1.5.0_16\lib\ext
I have also included the win32.com.dll in the C:\Windows folder
and the javax.comm.,properties in C:\Program Files\java\jdk1.5.0_16\jre\lib
Please suggest a solution for fixing this error.
-Thanks.