Welcome, Guest. Please login or register.

Author Topic: CreateNewProcTags() over sasc and vbcc  (Read 5522 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline _yak_

  • Full Member
  • ***
  • Join Date: Mar 2006
  • Posts: 227
    • Show all replies
Re: CreateNewProcTags() over sasc and vbcc
« on: April 11, 2006, 04:18:13 PM »
I'm not sure but according to AutoDocs, processes created by CreateNewProc() by default have assigned both input and output to opens of NIL:. Try adding these tags:

NP_Input,stdin,
NP_Output,stdout,

This should fix the problem with not displaying anything from the child process on SAS/C. However, I'm not sure about the hang, take a look into dos/dostags.h, maybe there are some other tags you have to use...
 

Offline _yak_

  • Full Member
  • ***
  • Join Date: Mar 2006
  • Posts: 227
    • Show all replies
Re: CreateNewProcTags() over sasc and vbcc
« Reply #1 on: April 11, 2006, 05:59:37 PM »
@ kas1e

Hmmm, I've given my hints out of my memory (currently I'm not programming for Amiga). Therefore I forgot many things and now I'm not sure if this "NP_Input,stdin," (and same for output) would actualy work? Or "Input()" and "Output()" functions have to be used instead?