D3DVertexBuffer8SetData???

Started by
2 comments, last by MP51C 21 years, 7 months ago
i''m using vb.net to try to make a game, but i can''t find the function in the subject line does anyone know how i can get acces to this function in .net??? MP51C
Advertisement
DirectX 9.0 is supposed to have full .net support. I can see the function in the docs, but I have no clue how to program VB.
The function isn''t available from VB.NET or C#, because they don''t support COM functions, just classes/interfaces.
The way to get round it is using the System.InteropServices.Marshal object (I think it''s called that) from the .NET framework. See the MSDN and the object browser for info on how to use it.


- JQ
Full Speed Games. Coming soon.
~phil
There is no such thing as a "COM function".


Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
RegardsThomas TomiczekTHONA Consulting Ltd.(Microsoft MVP C#/.NET)

This topic is closed to new replies.

Advertisement