> > i thought when you don't give a directory then it
> > assumes the directory is the one the exe is running
> > from, no?
> no.
> it is the 'current directory', and can be affected by all
> kinds of things.
> if you want the same directory as the exe is running in,
> then you can examine args[0], which is the full command
> line (path and all, I think) and replace the name of the
> exe with the name of the ini file, and you have a valid
> pathname. (there are neater ways to do this, but this is
> a hacker's approach and it usually works)
ok it's fixed now i hope. you were very vague though; i had to use mirc to get people to elaborate on what on earth arg was.
i also went back to my old graphic mode code. viewer should work now except not the last 2 resolution modes. sorry Olaf, i just can't figure it out. version 0.132 should be up sometime tomorrow on planetcnc.com
btw my webpage broke now. i don't know what the hell is happening to me these days.
> why do I offer advice to closed-source code? If it was
> open source, I could just look in and see the problem and
> be more useful, and quicker... :mad: