I am working on CLRMD library and trying to load a dump. I am getting Mismatched architecture between this process and the dac. Console applicatin which is x86 application which creates a string array.
static void Main(string[] args)
{
string[] strArray = null;
for (int i = 0; i < 100; i++)
{
strArray = new string[100];
strArray[i] = "One";
System.Threading.Thread.Sleep(1000);
Console.WriteLine(i);
}
Console.Read();
}
I used 32Bit TaskManager to create a dump and when I load the dump I get the Architecture mismatch error.
dataTarget.Architecture is Amd64 and PointerSize 8.
But When same application process is attached, dataTarget.Architecture is x86 and Pointersize is 4.
Don't know when this difference. am I missing something when I am taking the dump. Please let me know how to load the dump into CLRMD
thanks in advance.