forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DOS window when using cissue

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: Nürnberg, Germany

PostPosted: Thu Jul 27, 2006 2:45 am    Post subject: DOS window when using cissue Reply with quote

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
View user's profile Send private message
JohnHorspool



Joined: 26 Sep 2005
Posts: 270
Location: Gloucestershire UK

PostPosted: Thu Jul 27, 2006 4:40 am    Post subject: DOS window when using cissue Reply with quote

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 Smile
_________________
John Horspool
Roshaz Software Ltd.
Gloucestershire
Back to top
View user's profile Send private message Visit poster's website
Anonymous
Guest





PostPosted: Thu Jul 27, 2006 5:13 am    Post subject: DOS window when using cissue Reply with quote

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

PostPosted: Thu Jul 27, 2006 6:25 am    Post subject: DOS window when using cissue Reply with quote

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
View user's profile Send private message
JohnHorspool



Joined: 26 Sep 2005
Posts: 270
Location: Gloucestershire UK

PostPosted: Thu Jul 27, 2006 11:52 am    Post subject: DOS window when using cissue Reply with quote

Johannes

Glad you solved your problem. You may also find the command getenv@ useful to get the value of environmental variables.

John Wink
_________________
John Horspool
Roshaz Software Ltd.
Gloucestershire
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group