GUID?

BlitzMax Forums/BlitzMax Beginners Area/GUID?

REDi(Posted 2005) [#1]
Can anybody explain how to do them the bmax way?

DEFINE_GUID(IID_IDirectSoundBuffer8, 0x6825a449, 0x7524, 0x4d82, 0x92, 0x0f, 0x50, 0xe3, 0x6a, 0xb3, 0xab, 0x1e);


*EDIT* oops wrong forum :(


Dreamora(Posted 2005) [#2]
0x -> $
the IID thing should be the part without IID_ (check pub.directx9) but with a 9 as only DX9 is supported


REDi(Posted 2005) [#3]
Well the modules go from this... (NOTE: INT,WORD,WORD,BYTE,BYTE,BYTE ect..)

DEFINE_GUID( IID_IDirect3D7, 0xf5049e77,0x4861,0x11d2,0xa4,0x7,0x0,0xa0,0xc9,0x6,0x29,0xa8);


To this... (4 INTS)

Global IID_IDirect3D7[]=[$f5049e77,$11d24861,$a00007a4,$a82906c9]


@Dreamora, I'm dumb but I'm not THAT dumb :)


REDi(Posted 2005) [#4]
Umm, I think I see a pattern emerging!... I've got it! :D
I'm dumb but I'm not THAT dumb :)

Well I'll take that back :)

Global IID_IDirectSoundBuffer8[]=[$6825a449,$4d827524,$e3500f92,$1eabb36a]