Mail Archives: djgpp/2001/06/14/16:30:06
Hello, group. I was wondering if anybody could point me toward a web page, or
give me some instructions, about anything like DLL's for DJGPP. Basically, I
just want an easy way to store a compiled function in an external file, that I
can load at run time. I don't care how elegant/portable/etc. the solution is,
just something so that I can play around with a little renderer project, and
store shaders in external files, and load them at run time, without having to
either make my own shader compiler system, or recompile/link the entire
renderer.
Thanks for your help!
I was orginally thinking of just compiling the shaders as separate exe's,
loading the exe into memory, and then trying to convince the compiler that
there was a function at that address. This idea obviously is ill-fated, so I
figured I would check if anybody knows how to do this with DJGPP...
------------------
"We can write Planck's constant using the bytes 08 5C 2F C6 (hex). We can use
these bytes as a (quantized!) 32-bit color. Multiplying RGB by A gives us a
hunter green." -Ernie W (edited for space)
------------------
I am Will R.
- Raw text -