Thanks to all for the cluesticks, think I'll go the environment
variable route. The OpenDWG libraries require a binary file
adinit.dat to be opened before any library calls can be made.

Original code was from win32, and was just putting adinit.dat
in the same directory as the exe and truncing argv[0] on \\ to
find the init file. Dunno if argv[0] is always expanded in win32,
but obviously it isn't in *nix, so the Linux version will allow
the path to be defined by an env.


P.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to