WinDIB

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.

Thanks,

Dominique.

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

A few of questions…

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

Sometime next week.

  1. 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.

It won’t be stable for a year or more, and the exact mechanisms are still
under discussion. So you won’t need to worry about it for a while. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hi Sam,
Is it Ok if I send you reminder next Tuesday then?

Dominique.

Sam Lantinga wrote:>> A few of questions…

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

Sometime next week.

  1. 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.

It won’t be stable for a year or more, and the exact mechanisms are still
under discussion. So you won’t need to worry about it for a while. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment