Here's the dumpbin output for both the ANYCPU and x64. Now that I look
back, I think my ANY CPU test was still using the x64 build, so that was
dumb. But the x64 build didn't work, so at least that part will be helpful.
I have not tried SVN yet, I had to do a full clean re-make of it, so it's
taking a bit. I will reply when I test it on whether it works or not. For
now, here's the results of my dumpbin (.txt attached)
Thanks again!
Eric Morgan
On 8/30/07, Jonathan Chambers <[EMAIL PROTECTED]> wrote:
>
> Eric,
> Start up a VS cmd prompt. Then run the following on your file (both
> built for x64 and Any CPU):
>
> dumpbin /HEADERS yourfile.exe
>
> Send me the output. It will tell us the format of the file.
>
> Thanks,
> Jonathan
>
> On 8/30/07, Paolo Molaro <[EMAIL PROTECTED]> wrote:
> >
> > On 08/30/07 Jonathan Chambers wrote:
> > > This definitely looks like an issue with running a PE+ executable
> > > (produced if you target the x64 platform). If I try to run a PE+
> > executable
> > > under mono I get:
> > >
> > > Cannot open assembly test.exe.
> > >
> > > Mono currently does not support PE+, although it may in the near term
> > as the
> > > consensus is that is shouldn't be too hard to do. I'm guessing both
> > times
> > > you somehow produced a PE+ executable. Try specifically targeting x86
> > as the
> > > platform and see if you application runs.
> >
> > I just added support for the PE+ file format in svn, at least the sample
> > program that Jonathan kidly provided loads and runs correctly.
> > So if the original issue was the PE+ file format, it should work now
> > with mono from svn.
> >
> > lupus
> >
> > --
> > -----------------------------------------------------------------
> > [EMAIL PROTECTED] debian/rules
> > [EMAIL PROTECTED] Monkeys do it better
> > _______________________________________________
> > Mono-list maillist - [email protected]
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
>
> _______________________________________________
> Mono-list maillist - [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
Microsoft (R) COFF/PE Dumper Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file SeismicStudio.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
14C machine (x86)
3 number of sections
46D48F0C time date stamp Tue Aug 28 15:09:32 2007
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
10E characteristics
Executable
Line numbers stripped
Symbols stripped
32 bit word machine
OPTIONAL HEADER VALUES
10B magic # (PE32)
8.00 linker version
4D000 size of code
2000 size of initialized data
0 size of uninitialized data
4E0EE entry point (0044E0EE)
2000 base of code
50000 base of data
400000 image base (00400000 to 00453FFF)
2000 section alignment
1000 file alignment
4.00 operating system version
0.00 image version
4.00 subsystem version
0 Win32 version
54000 size of image
1000 size of headers
0 checksum
2 subsystem (Windows GUI)
400 DLL characteristics
No structured exception handler
100000 size of stack reserve
1000 size of stack commit
100000 size of heap reserve
1000 size of heap commit
0 loader flags
10 number of directories
0 [ 0] RVA [size] of Export Directory
4E098 [ 53] RVA [size] of Import Directory
50000 [ 8E8] RVA [size] of Resource Directory
0 [ 0] RVA [size] of Exception Directory
0 [ 0] RVA [size] of Certificates Directory
52000 [ C] RVA [size] of Base Relocation Directory
0 [ 0] RVA [size] of Debug Directory
0 [ 0] RVA [size] of Architecture Directory
0 [ 0] RVA [size] of Global Pointer Directory
0 [ 0] RVA [size] of Thread Storage Directory
0 [ 0] RVA [size] of Load Configuration Directory
0 [ 0] RVA [size] of Bound Import Directory
2000 [ 8] RVA [size] of Import Address Table Directory
0 [ 0] RVA [size] of Delay Import Directory
2008 [ 48] RVA [size] of COM Descriptor Directory
0 [ 0] RVA [size] of Reserved Directory
SECTION HEADER #1
.text name
4C0F4 virtual size
2000 virtual address (00402000 to 0044E0F3)
4D000 size of raw data
1000 file pointer to raw data (00001000 to 0004DFFF)
0 file pointer to relocation table
0 file pointer to line numbers
0 number of relocations
0 number of line numbers
60000020 flags
Code
Execute Read
SECTION HEADER #2
.rsrc name
8E8 virtual size
50000 virtual address (00450000 to 004508E7)
1000 size of raw data
4E000 file pointer to raw data (0004E000 to 0004EFFF)
0 file pointer to relocation table
0 file pointer to line numbers
0 number of relocations
0 number of line numbers
40000040 flags
Initialized Data
Read Only
SECTION HEADER #3
.reloc name
C virtual size
52000 virtual address (00452000 to 0045200B)
1000 size of raw data
4F000 file pointer to raw data (0004F000 to 0004FFFF)
0 file pointer to relocation table
0 file pointer to line numbers
0 number of relocations
0 number of line numbers
42000040 flags
Initialized Data
Discardable
Read Only
Summary
2000 .reloc
2000 .rsrc
4E000 .text
Microsoft (R) COFF/PE Dumper Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file SeismicStudio.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
8664 machine (x64)
2 number of sections
46D48BBC time date stamp Tue Aug 28 14:55:24 2007
0 file pointer to symbol table
0 number of symbols
F0 size of optional header
12E characteristics
Executable
Line numbers stripped
Symbols stripped
Application can handle large (>2GB) addresses
32 bit word machine
OPTIONAL HEADER VALUES
20B magic # (PE32+)
8.00 linker version
4D000 size of code
1000 size of initialized data
0 size of uninitialized data
0 entry point
2000 base of code
400000 image base (0000000000400000 to 0000000000451FFF)
2000 section alignment
1000 file alignment
4.00 operating system version
0.00 image version
4.00 subsystem version
0 Win32 version
52000 size of image
1000 size of headers
0 checksum
2 subsystem (Windows GUI)
400 DLL characteristics
No structured exception handler
400000 size of stack reserve
4000 size of stack commit
100000 size of heap reserve
2000 size of heap commit
0 loader flags
10 number of directories
0 [ 0] RVA [size] of Export Directory
0 [ 0] RVA [size] of Import Directory
50000 [ 8E8] RVA [size] of Resource Directory
0 [ 0] RVA [size] of Exception Directory
0 [ 0] RVA [size] of Certificates Directory
0 [ 0] RVA [size] of Base Relocation Directory
0 [ 0] RVA [size] of Debug Directory
0 [ 0] RVA [size] of Architecture Directory
0 [ 0] RVA [size] of Global Pointer Directory
0 [ 0] RVA [size] of Thread Storage Directory
0 [ 0] RVA [size] of Load Configuration Directory
0 [ 0] RVA [size] of Bound Import Directory
0 [ 0] RVA [size] of Import Address Table Directory
0 [ 0] RVA [size] of Delay Import Directory
2000 [ 48] RVA [size] of COM Descriptor Directory
0 [ 0] RVA [size] of Reserved Directory
SECTION HEADER #1
.text name
4C098 virtual size
2000 virtual address (0000000000402000 to 000000000044E097)
4D000 size of raw data
1000 file pointer to raw data (00001000 to 0004DFFF)
0 file pointer to relocation table
0 file pointer to line numbers
0 number of relocations
0 number of line numbers
60000020 flags
Code
Execute Read
SECTION HEADER #2
.rsrc name
8E8 virtual size
50000 virtual address (0000000000450000 to 00000000004508E7)
1000 size of raw data
4E000 file pointer to raw data (0004E000 to 0004EFFF)
0 file pointer to relocation table
0 file pointer to line numbers
0 number of relocations
0 number of line numbers
40000040 flags
Initialized Data
Read Only
Summary
2000 .rsrc
4E000 .text
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list