Actually I wouldn't mind knowing in general how to conver libraries and headers. The information provided really confuses me on how I'm actually suppose to go about it.
Does anyone at all happen to have DirectX 9.0b Libraries and Headers already converted?
I'm not looking for an engine, just the pure API conversion.
Or if anyone wants to direct me on how to create new libraries with a more informative (possible step-by-step example) that would REALLY help alot more.
Thanks
DirectX 9 Headers?
Hmm... the link didn't actually have anything useful to be honest.
There's a long announcement post about what will be in his all-singing-and-dancing engine.
Appeared to be 2 headers there, but they're unusable because he didn't sort out the libraries or even any of the functions.
I can convert all of the Dx headers and the libraries although a pain are getting converted, but as for the interfaces the converter crashes. And I can't find the cause .h (which is frustrating) because it doesn't work in console mode.
Any sort of wondering how to create those .res files. As there is nothing on them (or even why they're there).
There's a long announcement post about what will be in his all-singing-and-dancing engine.
Appeared to be 2 headers there, but they're unusable because he didn't sort out the libraries or even any of the functions.
I can convert all of the Dx headers and the libraries although a pain are getting converted, but as for the interfaces the converter crashes. And I can't find the cause .h (which is frustrating) because it doesn't work in console mode.
Any sort of wondering how to create those .res files. As there is nothing on them (or even why they're there).
-
Codemonger
- Enthusiast

- Posts: 384
- Joined: Sat May 24, 2003 8:02 pm
- Location: Canada
- Contact:
Ok the information is old and probably out of date but ... Their is soo much to convert, and would be great if u did it.
good luck 8O ! let me know when you get the d3dx library converted to a c compatible version that will work with pelles or lcc-win. Oh you can load dx 9 just fine, but if you want the helper library your out of luck. The helper library has all your math routines (very fast, and tons of them), mesh loading functions, oh yeah and texture loading functions, plus much much more. Anyway you could always use the nvidia helper libraries in the nvidia sdk 7.0, this is a very good library and free.
I just spent a couple of days trying to port parts of my engine into a purebasic library, but came into too many problems. Some of them required hacks, and i hate hacking code. Purebasic is based off of "C", I think C is great, but MS and DX have a different opinion on that. Anyway i just dropped that idea for a simple organized DLL ... compatible with almost any language. I'm writing it in vc ++ , which fortunately seems to be the most compatible with DX9, smooth sailing.
Code: Select all
just the pure API conversionI just spent a couple of days trying to port parts of my engine into a purebasic library, but came into too many problems. Some of them required hacks, and i hate hacking code. Purebasic is based off of "C", I think C is great, but MS and DX have a different opinion on that. Anyway i just dropped that idea for a simple organized DLL ... compatible with almost any language. I'm writing it in vc ++ , which fortunately seems to be the most compatible with DX9, smooth sailing.
<br>"I deliver Justice, not Mercy"
    - Codemonger, 2004 A.D.
    - Codemonger, 2004 A.D.
-
Codemonger
- Enthusiast

- Posts: 384
- Joined: Sat May 24, 2003 8:02 pm
- Location: Canada
- Contact:
Actually the engine does sing and danceannouncement post about what will be in his all-singing-and-dancing engine
<br>"I deliver Justice, not Mercy"
    - Codemonger, 2004 A.D.
    - Codemonger, 2004 A.D.
I would but I far prefer DirectX9's way of doing things.
It would've been nice to use Dx9 + the easy structure of PB, but unfortunately time restrictions with a current project make that very unlikely now.
Going to continue doing a little each day, but it's a chore.
Believe it or not DirectX (even 9) is completely C compatible, there are no real problems converting but the sheer size of the API lands problems. Alot of things can be converted with the tools but some have to be hand converted, like the d3d*types.h
Which just have to be the longest damn headers don't they lol
They also don't seem to convert some things. Something that I really miss is the DefType, i know that PB does this for you; but if there is nothing to be Defined then it just passes over it. For compatibility issues it should really have it.
ho well, I'm stuck using Visual C++ now
It would've been nice to use Dx9 + the easy structure of PB, but unfortunately time restrictions with a current project make that very unlikely now.
Going to continue doing a little each day, but it's a chore.
Believe it or not DirectX (even 9) is completely C compatible, there are no real problems converting but the sheer size of the API lands problems. Alot of things can be converted with the tools but some have to be hand converted, like the d3d*types.h
Which just have to be the longest damn headers don't they lol
They also don't seem to convert some things. Something that I really miss is the DefType, i know that PB does this for you; but if there is nothing to be Defined then it just passes over it. For compatibility issues it should really have it.


