[Mono-list] Platform neutrality and finding where an application is
Paul
paul at all-the-johnsons.co.uk
Fri May 2 10:55:16 EDT 2008
Hi,
I need to read and write files out of a program I'm tinkering with, but
I have to ensure that it makes no difference as to the platform it's
on.
To this end, I have the file either next to the exe (same directory) or
in Resources/file.xml - problem is that while this is fine under Linux,
it would have to be Resources\file.xml in Win32.
Is there a way that I can read/write and let the runtime decide the host
platform?
Is there also a way to find out where the application is running from
(for example /usr/bin/application.exe or My Documents\Somewhere
\application.exe)?
TTFN
Paul
--
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080502/072fe809/attachment.bin
More information about the Mono-list
mailing list