Tataskaman / lotromidiplayer

Automatically exported from code.google.com/p/lotromidiplayer
0 stars 0 forks source link

Lotromidiplayer crashes on Windows 7 (64 Bit) #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run LotroClient and also had Lotro started like I had before on WinXP 32Bit
2. Did same on another system with Windows 7 64 bit
3. Whenever I try to play midi file or play with my USB Keyboard, the
software crahs.

Could it be that the software had problems with accessing Lotro?
Any workarounds available?

Original issue reported on code.google.com by Kai.boer...@gmx.net on 29 Jan 2010 at 2:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It's trying to load DLL files which apparently Java won't allow to load.  The 
excuse 
is that it can't load 32-bit DLLs in a 64-bit platform -- which makes 
absolutely no 
sense since 64-bit platforms can execute 32-bit code...  (64-bit Windows is 
limited 
in that it won't do 16-bit applications, but it will do 32-bit applications 
just 
fine.)  The primary cause here is obviously a bad design flaw in Java itself in 
that 
it assumes such a thing, but if the software could use a 64-bit DLL instead 
when in 
a 64-bit platform it would solve the problem.

The exact error message I get when trying to do things like play a MIDI is:
C:\...java cache location...\JavaWinApi.dll: Can't load IA 32-bit .dll on a AMD 
64-
bit platform

(And I find it a bit annoying that they assume only AMD has an x86-64-bit 
platform 
given that I'm currently using one of Intel's 64-bit x86 processors.)

Original comment by nazo...@gmail.com on 15 May 2010 at 11:40

GoogleCodeExporter commented 8 years ago
I found a temporary solution.  If you install the 32-bit version of Java it 
will no 
longer crash at least.  Obviously not the best solution out there, but at least 
you 
can get it to work.

Original comment by nazo...@gmail.com on 15 May 2010 at 11:56

GoogleCodeExporter commented 8 years ago
LotRO MIDI Player requires 32-bit Java.  The native code in JavaWinApi.dll is 
32-bit,
and can't be called from a 64-bit Java virtual machine.  This isn't a flaw in 
Java,
it's just that I only compiled and included a 32-bit version of JavaWinApi.dll. 
 I
can look into how easy it'd be to include a 64-bit JavaWinApi.dll.

As nazosan mentioned, you can install 32-bit Java on 64-bit Windows.  That's
currently the only workaround for this bug.  Unless you have a specific need for
64-bit Java, the 32-bit version will work fine.

Original comment by dig...@gmail.com on 18 May 2010 at 7:39