[Mono-list] Problems with Visual Studio 2005 compiled code

Eric Morgan ehmorgan at gmail.com
Thu Aug 30 15:20:56 EDT 2007


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 <joncham at gmail.com> 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 <lupus at ximian.com> 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
> >
> > --
> > -----------------------------------------------------------------
> > lupus at debian.org                                     debian/rules
> > lupus at ximian.com                             Monkeys do it better
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070830/0d329391/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SeismicStudio.exe.AnyCPU.dumpbin.txt
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20070830/0d329391/attachment-0002.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SeismicStudio.exe.x64.dumpbin.txt
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20070830/0d329391/attachment-0003.txt 


More information about the Mono-list mailing list