View previous topic :: View next topic |
Author |
Message |
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Thu Jul 27, 2006 2:45 am Post subject: DOS window when using cissue |
|
|
I have a windows application (WINAPP). When however I make a system call using cissue
a DOS window still appears in the background.
How can I avoid the DOS window when making a systen call using cissue?
Thanks
|
|
Back to top |
|
|
JohnHorspool
Joined: 26 Sep 2005 Posts: 270 Location: Gloucestershire UK
|
Posted: Thu Jul 27, 2006 4:40 am Post subject: DOS window when using cissue |
|
|
Johannes
You cannot stop a DOS window from being created when using CISSUE from a windows application.
However you can probably get the effect you want using the START_PROCESS@ or START_PPROCESS@ instead, which I use too great effect.
regards
John _________________ John Horspool
Roshaz Software Ltd.
Gloucestershire |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Thu Jul 27, 2006 5:13 am Post subject: DOS window when using cissue |
|
|
John,
I have looking in the online documentation and do not know exactly how to use it. :confused:
What I actually need is to get the username. Untill now I've been doing it like this:
cissue('set username >> c:tempuser.dat')
Then open the file and read the username. Since changing the final program to a windows application
I still have a flashing DOS window in the background.
Regards |
|
Back to top |
|
|
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Thu Jul 27, 2006 6:25 am Post subject: DOS window when using cissue |
|
|
Solved my problem:
call dosparam@('username',f_username)
Using param@ in my WINDOS application to get the username from
the enviroment variable do not cause a DOS window in the background. |
|
Back to top |
|
|
JohnHorspool
Joined: 26 Sep 2005 Posts: 270 Location: Gloucestershire UK
|
Posted: Thu Jul 27, 2006 11:52 am Post subject: DOS window when using cissue |
|
|
Johannes
Glad you solved your problem. You may also find the command getenv@ useful to get the value of environmental variables.
John _________________ John Horspool
Roshaz Software Ltd.
Gloucestershire |
|
Back to top |
|
|
|