Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Studio.Net InvalidCallException error?!?

Status
Not open for further replies.

swissdietcoke

Programmer
Apr 12, 2005
1
US
Alright heres the deal. I'm having a serious problem with a really really simple DirectX program that i'm trying to do. I'm in a class and none of our systems are working with it. We're programming out of "Managed DirectX 9 Kick Start," and this is the first program we're using. All is well until we go to instantiate a new device object. VS.NET throws this exception:

An unhandled exception of type 'Microsoft.DirectX.Direct3D.InvalidCallException' occurred in microsoft.directx.direct3d.dll

Which of course, prohibits anything from running. We're using systems made from OmniTech:

933 Pentium 3 with Intel 82815 Integrated Graphics.

While I know that our integrated card does not support hardware DirectX 9, it should have no problem creating a dinky rotating triangle using Direct X software stuff. I do know this: DirectX is installed correctly, as it passes all DxDiag tests, and i can run Direct3D games.

We've tried installing a clean copy of Win2k (SP4), followed by VS.NET 2003, then the DirectX 9 SDK (Summer 2003) from the provided CD that came with our book. It worked once, then we ran Windows Updates, and it quit working. We tried to do the same thing again, and it failed the second time we did it.

Two of our machines in this lab (out of 16) are working perfectly, so I know these computers are capable of using managed Direct X 9. The computers were imaged, so they should be almost identical. This error has caused us a week and a half of problems in my class, and we are unable to continue until we find a solution. Any tips, advice, help, or suggestions would be greatly appreciated. Please email me at swissdietcoke at gmail dot com, if you can, otherwise, my registered email will be fine.

Thank you for reading.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top