VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
DirectX 7 surfaces&buffers pasutti (2 replies, 0 views) (2000-May-30) Howdy all,,
I'm using VB6 and directX 7 to create my first small game ... a.k.a. newbie..
anyways ,, , I'm able to use Createsurfacefromfile & Createsoundbufferfromfile ..
works great..
But.. I want to place all my .bmps & .wav files into a resource .res ..
I can't get Createsurfacefromresource & Createsoundbufferfromresource to work..
I read an article which states you must place quotes around res.name
i.e.
dx.Createsurfacefromresource("filename", "102", ddsd5) .. it won't initialize ..
same with Createsoundbufferfromresource .. HELP!!!
thanks
blaine
|