VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RE: The return to VB... DX7 (D3D IM) Adam Hoult (4 replies, 0 views) (2000-Jun-23) Hey Marek,
I don't have long, so i'm gonna dive straight in with quick fire answers for you =)
1) It's almost identical, however the two are not compatible with each other when it comes down to the actual objects, i.e you couldn't pass DirectDrawSurface7 object to a c++ function expecting an IDirectDrawSurface7 type, since M$ in there infinite wisdom, wrapped up the objects, whereas all previous versions of DX support in VB (curtesy of Patrice Scribe) where type libraries. So anyway, porting between VB and C++ is as simple as Cut/Paste/Modify really. Everything still works the same way.
2) Almost exactly, we dont have access to d3dx directly though.
3) Nope =) VB now uses the C++ compiler (C2.EXE) to compile exe's, and with all the usual array bounds checks, floating point checks turned off, you can get a VAST speed increase (only turn these off if you are sure it's safe to do so =)
4) Not directly, you can obtain long pointers by simply calling VarPtr(MyVariable) for example, and go from there. But im pretty sure we will in VB7 (since it now supports things like Inheritance and I think also TypeCasting (woohoo =))
5) Tons. Check out the VB Gaming Site Of The Week page (top right hand menu on main page). At the bottom is a list of sites which have won our award, those are a few of the good ones to start you off)
HTH and good luck =)
Adam
|