03-13-2002, 12:10 PM
It seems that every time I try to put my CreateDevice method in a module it fails with some strange automation error.:( The error is: Run-time error: -2005530516 (8876086c) Automation error.:mad: Is it possible to place this into a module, or am I grasping at straws trying? Help me out y'all!
03-13-2002, 01:32 PM
Yes, its possible. Infact, all my DirectX code is in modules. Could you paste the block of code which isnt working? Automation errors can be caused by an incorrect flag setting, or trying to do something which isnt supported by the hardware.
Anyways, paste a bit of code and lets have a look see..... :)
03-13-2002, 02:04 PM
I now think it might be a different problem. I tried running some samples from the SDK and they gave me the same error. Even the tutorials on DirectX 4 VB did the same. Any thoughts?
If you want my code I could post it. But it's pretty sloppy. And also pretty big.
03-14-2002, 01:27 AM
Maybe a stupid question, but is your video card capable of using the settings you provide??
03-14-2002, 11:02 AM
Actually ArnoutV, it's not a stupid question. In fact, it wasn't. But it still didn't solve my problem. It now gives me a different automation error. -2005530585 (88760827) Any thoughts?
03-14-2002, 11:50 AM
I had the same problem when starting out with DX8.1, so I downloaded the latest drivers for my card and it did the trick. Maybe you could try the same?
03-14-2002, 02:20 PM
Well, it helps to give it a back buffer format. LOL! :D