Re: One little bug - XCC ForumRegister | Login | Search
History | Home | Messages

Voxel Section Editor II (v1.6) beta releaseWill23:39 19-12-2001
One little bugssanzing15:11 20-12-2001
Re: One little bugWill20:08 20-12-2001
Re: One little bugOlaf van der Spek23:13 20-12-2001
Re: One little bugWill23:19 20-12-2001
Re: One little bugOlaf van der Spek23:50 20-12-2001
Re: One little bugWill00:13 21-12-2001

> > > > > Autonormals function will not be active when the program is launched by double clicking on the VXL file.

> > > > strange, very strange.

> > > > :confused: Olaf, I am looking for *.normals in the same directory as args[0];

> > > Debug and check for yourself if it contains path info.
> > on my box, it always is the full executable path. Maybe different versions of Windows are different.

> Even when launched with double-clicking?
> You should not rely on args[0] anyway, because applications that launch your app could put anything in args[0] they want.

really? args[1] might be anything, specified at the command-line or whatever, but surely args[0] is the command invoked to get the app running?

> > > Otherwise, look up GetModuleFileName().

> > > > when run from a file association in windows, would that not be a full path to the same directory as the exe?

> > > > Would hate to have to use a registry key... :(


Re: One little bugOlaf van der Spek00:16 21-12-20012
    Re: One little bug; FIXABLE (?)Will01:16 21-12-2001


Home | Post | Users | Messages