Re: [AD] alternate entry point for allegro programs

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Peter Wang wrote:
There are other ways of getting the path, albeit probably less portable. Grabbing argv is too trivial a reason to hijack the definition of main.

I believe it hijacks main in Unix because argv[0] is, normally, exactly as typed on the command line (with possibly no/relative path info). This means Allegro would have to modify it to put in a proper/absolute path (like DJGPP/DOS does).

AFAIK

- Kitty Cat




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/