View Full Version: VC++ 4 Compatible Libraries?

C++ Learning Community > Direct X > VC++ 4 Compatible Libraries?


Title: VC++ 4 Compatible Libraries?
Description: Or some other approach.


TheHawgMaster - December 3, 2003 03:59 AM (GMT)
Does anyone know where I could get VC++ 4 compatible DX9 libs? Or perhaps any tools for converting the existing ones? Or do you think I should just directly dynamic-call them from the DX9 DLLs? I'm sorta frustrated since for the moment it's the only compiler I can easily use... :(

Consumed - December 3, 2003 05:53 AM (GMT)
Doesn't the DX9 sdk come with compatible libs? I wouldn't know, cause I only have the version 8.1 sdk. I don't know what dynamic-call is, but I guess the LoadLibrary and GetProcAddress functions would work. What are all the compilers you have?

dr voodoo - December 3, 2003 04:25 PM (GMT)
QUOTE
Or do you think I should just directly dynamic-call them from the DX9 DLLs

That will be a bit of a problem because parts of DX9 are staticly linked. Also for the rest I think the only function that is not a call by ordinal value is Direct3DCreate9 so dynamic linking would be a bit of a problem.

QUOTE
I don't know what dynamic-call is

There's the static or compile-time linking which is using import libs (*.lib) and dynamic or run-time linking in which you use LoadLibrary and GetProcAddress.

I have found some compatible libraries for BC5.5 http://clootie.narod.ru/cbuilder/index.html. The part that is supposed to be staticly linked is in the D3DX9Sab.dll dll, so that problem would be solved. The import libraries are in Omf format but (I think) VC4 needs the Coff format. BC5.5 comes with a tool to convert Coff to Omf. Perhaps VC4 has something to do it the other way round.

TheHawgMaster - December 4, 2003 04:28 PM (GMT)
I'll try it out.




* Hosted for free by InvisionFree