halleck1 / bzreader

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

BadImageFormatException on 64-bit platform #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to import a dump on a 64-bit version of Windows.

What is the expected output? What do you see instead?
Locating the blocks
System.BadImageFormatException: Poging om een programma te laden met een
onjuiste indeling. (Uitzondering van HRESULT: 0x8007000B)
   bij bzip2.BZ2_bzLocateBlocks(String path, IntPtr beginnings, IntPtr
ends, Int64& bufSize)
   bij bzip2.BZ2_bzLocateBlocks(String path, Int64[] beginnings, Int64[]
ends, Int64& bufSize)
   bij BzReader.Indexer.LocateBlocks()
   bij BzReader.Indexer.CreateIndexAsync()

What version of the product are you using? On what operating system?
1.0.5 on 64-bit Vista Business

Please provide any additional information below.

The program starts in 64-bit mode, and then tries to load a 32-bit DLL.
This fails.

Compile with /platform:x86 switch to prevent this issue.

See this website for more info:
http://forums.msdn.microsoft.com/en-US/netfx64bit/thread/365c3fe2-6830-42bf-a8dd
-ae3353e5a239/

Original issue reported on code.google.com by matth...@impressie.nl on 30 Jul 2008 at 12:14

GoogleCodeExporter commented 9 years ago
Hi,

Yep, I'm aware about the issue, my original release was a 32-bit only.
I'm also planning to do a proper 64-bit build (including the native DLL).
Meanwhile, you could pull the source code from SVN and do a private build with 
the
mentioned flag.

Original comment by halle...@gmail.com on 3 Aug 2008 at 5:20

GoogleCodeExporter commented 9 years ago
Should be fixed in v1.0.6. BzReader is now compiled with explicit 32-bit flag.

Original comment by halle...@gmail.com on 4 Aug 2008 at 6:05

GoogleCodeExporter commented 9 years ago
It works now. Thanks!

Original comment by matth...@impressie.nl on 8 Aug 2008 at 9:03