ProgDir()
"Thilo Köhler" <[email protected]> Thu, 28 Apr 2005 11:37:12 +0200 (MEST)
| Newsgroups | gmane.comp.windows.ce.freeware |
|---|---|
| Message-ID | <[email protected]> |
Hello! Is it somehow possible to detect the executables path ? Background: I have an executable, that needs several additional files (config files, graphics, sounds etc.) and I want to store everything on a flash card, that it can be started "out of the box". The problem of setting absolute pathes is, that the flash card has different names, depending on the language of the WinCE. German: "/Speicherkarte/..." vs. English: "/Storage Card/..." Another question: Can I pass command line arguments to a program ? Like "myprog myarg1". I start my program with CreateProcess from another program, and there seems to be an option for that. Thanks for any help! Thilo -- +++ GMX - die erste Adresse für Mail, Message, More +++ 10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail [Non-text portions of this message have been removed]