RE: Detecting what an assembly was compiled with

2012-02-08 Thread Ian Thomas
Thomas Victoria Park, Western Australia -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of mike smith Sent: Thursday, February 09, 2012 2:44 PM To: ozDotNet Subject: Re: Detecting what an assembly was compiled with On Wed, Feb 8, 2012 at

Re: Detecting what an assembly was compiled with

2012-02-08 Thread mike smith
On Wed, Feb 8, 2012 at 9:21 PM, Ian Thomas wrote: > > Another “environment” type question for those with more experience than I. > > I assume that (apart from Corflags CLI tool, which is inappropriate) the > correct .NET method to detect what an assembly was compiled for (AnyCPU, x86, > x64) is

RE: Detecting what an assembly was compiled with

2012-02-08 Thread Ian Thomas
me sort-of that the DLL that I loaded was OK for x86 and x64. I'm surprised that the ImageFileMachine enumeration does not include a value that indicates a 64-bit Intel machine (which is what my testing machine is). _ Ian Thomas Victoria Park, Western Australia _ From: oz

Re: Detecting what an assembly was compiled with

2012-02-08 Thread Wallace Turner
out of interest how is corflags inappropriate? I managed to read your entire question without reading that part and did this lovely screenshot of corflags before re-reading... On 8/02/2012 6:21 PM, Ian Thomas wrote: Another "environment" type question for those with more experience than I. I