Hi all, are there any good include files for DirectX already? Preferably dx8, but 7 will do too. Thomas
Posted on 2001-03-23 04:19:00 by Thomas
I have seen some for DX 6.1 for TASM, but kinda easy to use with MASM also,... no DX8 yet...anyway who needs DX8? :) Can be done from C .h headers also...with a lot of simple work
Posted on 2001-03-23 09:24:00 by BogdanOntanu
I started playing with DX8 headers, I did a few, but since I don't know DirectX... it kinda went nowhere. That was before Amokila did his type library translator. If you just hit the dll you want to use with it, out pops the masm headers you need. -------------------- "Marge, when I join an underground cult I expect a little support from my family."
Posted on 2001-03-23 09:32:00 by Ernie
Ernie: That's what I thought, I just use tlb2inc and have an asm include file, and it did work, except for the structures. Of course I can translate the C structures but that's a lot of work and useless if someone already did that. But I will take a look at the c headers. Thomas
Posted on 2001-03-23 10:45:00 by Thomas
You mean Amokila's app doesn't also do the struct? I've never checked, they ARE part of typelibs. I do know it gets the constants. Anyway, all is not lost. Any decent H2inc translator should convert the structs in the C headers to asm. ------------------------ "Homer Simpson is not the kind of man that apologizes, I'm sorry that's just the way I am."
Posted on 2001-03-23 17:34:00 by Ernie
oopss structs !? Thomas can you please send me the dll ? I'll try to translate structs in the next version of TlbToInc This message was edited by Amokila, on 3/23/2001 7:48:14 PM
Posted on 2001-03-23 18:34:00 by Amokila
Ernie: I had downloaded the vb directx8 sdk, it includes the tybelibrary in the form of dx8vb.dll (or something like that), all the samples in the SDK use that type lib and some common include things like dxutil.bas etc., but in none of the sdk files the structures were defined so they'll have to be in the type lib. Amokila: That would be awsome, the dll is in the VB SDK (http://msdn.microsoft.com/directx. Try the partial SDK download and only download the VB directx8 SDK. Install it, the dll is in the system directory (dx8vb.dll I think, not sure). Thomas
Posted on 2001-03-24 03:52:00 by Thomas
Amokila: Many thanks for the great tool, it works very good and does the structures correctly now. However I've got another problem now. l2inc crashes when I try to convert d3dx8dt.lib (and some other files). Anyone seen this problem before? Thomas
Posted on 2001-03-26 11:39:00 by Thomas
Thomas: Could you please send this file to me ? I don't feel like downloading the whole SDK. Thanx
Posted on 2001-03-28 19:42:00 by Amokila
The zipped lib files are 1.66 MB, is it ok to send you this? Do you want the dx8vb.dll too (420kb)? Thomas
Posted on 2001-03-31 15:54:00 by Thomas
Yep Thomas, no problem send me the all thing
Posted on 2001-03-31 17:47:00 by Amokila