Re: [AD] config files and dynamic libs |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Making some more investigations, I have to say this is not true. The file
> set in the call to `set_config_file' in `init_config' is the config file
> in the directory of the actual program executable, not in the directory of
> the dll. The reason why the config file is not updated is instead that
> allegro_exit will never be called (and as a consequence the file is never
> flushed).
Fine! I wasn't aware that Allegro was so smart :-)
> I suppose this is just the way it has to be, so I have to work around it
> in my lib - no problem.
Try flush_config_file().
--
Eric Botcazou