×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Visual Studio.Net InvalidCallException error?!?

Visual Studio.Net InvalidCallException error?!?

Visual Studio.Net InvalidCallException error?!?

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close