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

Jonathan Chambers joncham at gmail.com
Thu Aug 30 13:43:19 EDT 2007


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070830/0d619072/attachment.html 


More information about the Mono-list mailing list