VB and DrawPrimitiveUP
Every time I call DrawPrimitiveUP VB closes down, without giving me a chance to get the error from DirectX. I am running VB6 SP5...
Any Ideas?
If one person would write a book on DirectX in VB, I would make them a rich man!
Visit http://64.23.12.52//Tutorials/DirectX8/GR_Lesson03.asp and take a look. There is an example of DrawPrimitiveUP in action as well as working code to download. The site has heaps of really good tutorials to get you started.
Yeah, I use DX4VB for tutorials, and thats where I learned what I know, but I can''t see what is causing the problem.
I have no idea why your code doesn''t work, but it''s highly recommended that you don''t use the ...UP functions anyway.
I haven''t used VB in a LONG time, but I would guess that VBs notion of a pointer is different than what the ...UP functions want. At least that was the sort of thing that got me to stop using VB long ago
I haven''t used VB in a LONG time, but I would guess that VBs notion of a pointer is different than what the ...UP functions want. At least that was the sort of thing that got me to stop using VB long ago
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement