Original Post
Hi guys, i am trying to construct VertexBuffer object this way: VertexBuffer vb = new VertexBuffer(typeof(CustomVertex.PositionColored), 3, this.device, Usage.WriteOnly, CustomVertex.PositionColored.Format, Pool.Managed); But it gives me DriverInvallidCallException. I am using Windows Mobile 5.0 for PDA and .NET CompactFramework 2.0. Does anyone know where is the problem??? I have also tried this: VertexBuffer vb = new VertexBuffer(this.device, 3 * CustomVertex.PositionColored.StrideSize, Usage.WriteOnly, CustomVertex.PositionColored.Format, Pool.Managed); but it gives me the same exception.....