I'm trying to run a VB2008 application that uses DirectX under Windows
7 RC (64 bit). This is an application I wrote on a Vista machine. When
I run the compiled application in Windows 7, I get the error message:
myappname has stopped working
From within VB2008 Express Edition, I am able to build the solution,
but I cannot debug it. Trying to debug will throw the error:
InvalidOperationException was unhandled.
An error occured creating the form. See Exception.InnerException for
details. The error is: is not a valid Win32 Application. (Exception
from HRESULT: 0x800700C1)
This same project will debug, compile, and run fine under Windows XP or Vista (both test boxes are 32 bit).
A VB2008 project that does not require DirectX will run find under Windows 7.
The March 2009 DirectX SDK is installed on the Windows 7 machine, same as the XP and Vista machines.
Any idea how to get DirectX applications to work under Windows 7?
Thanks,
Lance