[SDL] SDL_mixer not being noticed

William Kendrick nbs at sonic.net
Fri Aug 24 09:54:01 PDT 2001

Hi Sam,
   This would be great because as far as I can tell under Delphi I only 
have full access to the Windows API and putenv() and getenv() are not 
listed as part of the API though they seem to be standard functions 
under C/C++. So getting SDL_putenv and SDL_getenv to map to putenv() and 
getenv() respectivly, would certainly solves these headaches for the 
time being.

A few of questions...
1. When should I remind you about including this mechanism in the next 
1.2 release.

2. When is SDL 1.3 due out, and what mechanisms will be in place in 
order to facilitate functionality similar to the SDL_WINDOWID hack.



Sam Lantinga wrote:

>> Since environment variables seem to be used on WinCE, Windows, Linux and 
>>   are probably also available under other OSes, is there any reason why 
>> SDL_putenv and SDL_getenv are not available on at least Windows and 
>> Linux, so that there is a uniform way of setting environment variables 
>> under various Oses that SDL supports and that in turn support 
>> environment variables?
> Right now SDL_putenv and SDL_getenv are only available on operating systems
> where there isn't a standard environment variable mechanism.  What I can do
> though, for language bindings, is make them map to putenv() and getenv() on
> systems that support them.  Remind me, I'll do this for the next SDL release.
> However, keep in mind that the environment variable mechanism will go away
> and be replaced with a general configuration solution with SDL 1.3
> See ya,
> 	-Sam Lantinga, Software Engineer, Blizzard Entertainment

More information about the SDL mailing list