> From: "Mike" <[email protected]>
> Sent: Thursday, November 11, 2010 4:58 PM
> 
> I actually don't think it *is* possible. Especially since you'd be writing 
> into the same dll that's loaded into the process...
> --
> Mike Caron

Oops, I think I mixed up the docs. The windows docs talk about 
updating "executable" resources, but never give an example of 
a dll updating its resources. I never realized that. :\

Well, config file is definitely easier. :>

> -----Original Message-----
> From: James Paige <[email protected]>
> Sender: [email protected]: Thu, 11 Nov 2010 
> 14:42:28 
> To: <[email protected]>; <[email protected]>
> Reply-To: [email protected]
> Subject: Re: [Ohrrpgce] Grievances with gfx_directx?
> 
> On Thu, Nov 11, 2010 at 12:06:31PM -0800, Jay Tennant wrote:
> > Oh, I forgot about that. I was thinking of preferences saved
> > as a resource in the dll. But an outside file would be easily
> > configurable. I don't think all backends should access the 
> > same config file, though. Some resolutions for gfx_directx
> > won't work right in gfx_sdl, etc.
> >
> > Because there aren't any major configurations, though, storing
> > as a resource might be a little cleaner. If one wants to start
> > the backend in "safe mode", perhaps an extra param could be sent
> > through the v2 interface gfx_Initialize (that is, whenever we
> > switch over...)
> 
> Eek! Why does windows even let you write data into a dll like that?
> 
> A config file is definitely preferable.
> 
> I favor a simple text file using key=value pairs, maybe grouped under 
> [headers] like the windows ini file format.
> 
> ---
> James
> _______________________________________________
> Ohrrpgce mailing list
> [email protected]
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
> _______________________________________________
> Ohrrpgce mailing list
> [email protected]
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org 




_______________________________________________________
Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting
              http://www.doteasy.com 
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to