CodingFiend
12-22-2000, 09:27 AM
Ok, I've been doing DirectX stuff in c++ (and use c++ in work--sigh, no VB for about a half-year). I have a really basic question.
In c/c++ when you lock a directx surface, you get back a pointer that you write to for setting pixels. If you get back an address in VB, how do you write to the memory? I want to convert my line drawing library to VB for creating a vector graphics game (asteroids, whatever), but need to know how to get an address and write to it. The only DirecX 7 VB samples I see in the SDK use the blitter--no line drawing.
Thanks!
It's better to burn out than to fade away!
In c/c++ when you lock a directx surface, you get back a pointer that you write to for setting pixels. If you get back an address in VB, how do you write to the memory? I want to convert my line drawing library to VB for creating a vector graphics game (asteroids, whatever), but need to know how to get an address and write to it. The only DirecX 7 VB samples I see in the SDK use the blitter--no line drawing.
Thanks!
It's better to burn out than to fade away!