VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Creating Object (Late vs Early binding) Corre (7 replies, 0 views) (2000-May-8) I was just made aware of the fact that this:
Dim dx7 As New DirectX7
will make the object dx7 late bound(=slow), while this:
Dim dx7 As DirextX7
Set dx7=New DirectX7
will make the object dx7 early bound(=fast).
So it turns out that I've been using mostly late bound objects, just because I thought I'd save one line of code... Just thought I'd share this in case anyone else has done the same...
/Corre, MiCo Game
|