VBGamer |
|
RE: MFC The Gilb (0 replies, 0 views) (2000-Jun-15) It's actually a bit pointless using the Win32 API to create a window rather than use VB's own forms I should think... Is the speed difference substantial? If so I know I'll be switching to that method of developing in VB...
I remember trying to write my own code in VB for creating a Window... Turns out I got stuck at only one point, and I remember looking at that code on PSC and I discovered to my horror that had I put a pointer (VarPtr) then everything would have worked! ARGH!
All I did was port some of my VC++ code to VB too! Hehehe!
Anyways, I have to agree with Minion - it was ignorant believing that Asm can't access DX... All the initialisation is a few simple calls and a little ORing...
(or ax, 1
or ax, 16
push ax
?)
It would be easy... A little pushing and some simple instructions would allow you to write a DX app in pure asm... The only thing is, there is no point because as DX init is merely a few function calls, there is no way writing in another language is going to speed it up! Just like shifting DX into C++ wont make it faster... |