Hi all,
I just downlaoded and installed the Dec 2005 bits. I can build and run the managed C# samples just fine on my 32-bit machine, but no luck with my x64 machine.
When I build the default SimpleAnimation sample, it buildes fine, but gives me this error when I run:
System.BadImageFormatException was unhandled
Message=" is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)"
Source="mscorlib"
StackTrace:
at System.Reflection.Assembly._nGetEntryPoint()
at System.Reflection.Assembly.get_EntryPoint()
at Microsoft.VisualStudio.HostingProcess.HostProc.GetEntryPointAptThreadState(String assemblyFile)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunParkingWindowThread()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
When I remove references to the the Microsoft.DirectX.Direct3D and Microsoft.DirectX.Direct3DX assemblies, and substitute the 64-bit version of Microsoft.DirectX, I get build errors like this:
Error 1 The type or namespace name 'Caps' could not be found (are you missing a using directive or an assembly reference ) E:\dev\Microsoft DirectX SDK (December 2005)\Samples\Managed\Common\dxmutdata.cs 28 33 SimpleAnimation_2005
Here's my configuration:
HP xw8200 workstation with XP Pro x64 Edition, VSTS RTM, 2GB RAM.
I'm sure I must be missing something obvious...any help apprecitated.
Jim

Can't build/run managed samples on x64
Prabhu R S
Are MDX-x64 libraries out
mie
If I use the following versions of the assemblies, and I choose x86 for the platform target, I can run under WOW64.
Microsoft.DirectX: C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.dll
Microsoft.DirectX.Direct3D: C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll
Microsoft.DirectX.Direct3DX: C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2909.0\Microsoft.DirectX.Direct3DX.dll
This is nice, but it still kind of bugs me that I can't get native x64 support running.
Jim
csharp.romz