delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/14/16:30:06

Lines: 21
X-Admin: news AT aol DOT com
From: forkazoo2 AT aol DOT com (Will R)
Newsgroups: comp.os.msdos.djgpp
Date: 14 Jun 2001 20:27:50 GMT
Organization: AOL http://www.aol.com
Subject: DLL's for complete morons...
Message-ID: <20010614162750.14789.00001562@ng-mk1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019