Simple D3DX8 support on MinGW (library inside)

A forum to store posts deemed exceptionally wise and useful
Post Reply
yoquese
Posts: 1
Joined: Fri Oct 17, 2008 1:39 pm

Simple D3DX8 support on MinGW (library inside)

Post by yoquese »

Hi, I have built a special libd3dx8.a file that contains the functions used by Irrlicht statically.

No external DLLs needed, just link against it and you are done.


For those that are curious and want to know how I managed to do it:
I made it by first writing a wrapper DLL with VC++ Express 2008 and then byte dumping the DLL file inside a unsigned char buffer source listing (think bin2c and stuff). This static buffer is loaded with MemoryLoader code by Joachim Bauch (www.joachim-bauch.de). All of it transparently to the user.

Note that the hidden MemoryLoader code falls under Mozilla Public Licence wich should be no problem for anyone but you should be aware of it.


The file:
http://www.megaupload.com/?d=B1ZWVXTJ

Let me know if you have any trouble linking against it. Make sure you are not linking against a different libd3dx8.a
Post Reply