|
-
Feb 15th, 2003, 04:31 PM
#1
Thread Starter
Ex-Super Mod'rater
"Invalid call" ERROR in DirectX, unknown reason for error!
I have a program that uses DirectX 8 and worked fine. I've changed "something" and saved it and can't remember what I changed but now it gives me an error if I try and call anything like "DrawIndexedPrimitive" or "DrawPrimitive". After putting the error number in the directX Error lookup I got this:
VB Code:
'HRESULT: 0x8876086c (2289436780)
'Name: D3DERR_INVALIDCALL
'Description: Invalid call
'Severity code: Failed
'Facility Code: Unknown (2166)
'Error Code: 0x086c (2156)
Does anyone know why it would give me that error simply from tying to draw. btw it does let me draw meshes still using "Mesh.DrawSubset i"
Thanx for any help.
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

-
Feb 15th, 2003, 04:35 PM
#2
-
Feb 16th, 2003, 06:58 AM
#3
Thread Starter
Ex-Super Mod'rater
Oh well I guess i'm going to have to go thro the whole of my program, I was just hoping someone might have done something similar and known why it happens.
Thanx anyway tho.
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

-
Feb 16th, 2003, 07:29 AM
#4
Thread Starter
Ex-Super Mod'rater
I've just checked some of my other DirectX Programs and they all cause this error when they come to a line that uses "DrawIndexedPrimitive" or "DrawPrimitive". Does anyone know any websites that I could check to see if I can find out why this is happeneing?
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|