Re: [AD] [4.3] get_executable_name

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


On Tuesday 29 August 2006 9:34 pm, Kirk Black wrote:
> I wasn't able to use Allegro's magic main on Windows because my networking
> library ACE conflicted so I had to use WinMain(), which doesn't have the
> same argv conventions as a program using main().

Yeah, while thats a concern, I believe you can still get argv like data from 
windows.

> Kirk Black
> President / Owner
> Family Time! Interactive, L.L.C.
> Mobile: 512.771.5762
> Email: runesabre@xxxxxxxxxx
> -----Original Message-----
> From: alleg-developers-bounces@xxxxxxxxxx
> [mailto:alleg-developers-bounces@xxxxxxxxxx] On Behalf Of Peter
> Wang
> Sent: Tuesday, August 29, 2006 10:30 PM
> To: alleg-developers@xxxxxxxxxx
> Subject: Re: [AD] [4.3] get_executable_name
>
> On 2006-08-29, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > On Tuesday 29 August 2006 9:23 pm, Peter Wang wrote:
> > > On 2006-08-29, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > > Just why does that function go out of its way to be as complicated as
> > > > possible?
> > > >
> > > > Are there really unix systems where you cant use getcwd (relative
>
> paths
>
> > > > in argv) and argv[0] ?
> > >
> > > (1) Where do you get argv[0] from?  We used to use END_OF_MAIN().
> >
> > Allegro aught to be passed argv and argc. explicitly.
>
> We couldn't change the interface.
>
> Peter
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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