Problems using the DrawPrimitives Method

From: Marcel (schillum_at_gmx.net)
Date: 05/19/04


Date: Wed, 19 May 2004 16:23:54 +0200

Hi..

Always when I want to render my VertexBuffer, the following error
occurs:

Error in the application.
-2146232832 (Unknown)
   at Microsoft.DirectX.Direct3D.Device.DrawPrimitives(
PrimitiveType primitiveType, Int32 startVertex, Int32 primitiveCount)

I checked the vertexBuffer and the device with the debugger, but
all values seem to be ok. Also the startVertex and the primitiveCount
are not out of range.

Does anybody know this error, and what's the reason for it?!

with friendly greetings ...
Marcel