C (159/304)

From:Olaf Barthel
Date:17 Aug 2000 at 15:55:17
Subject:Re: Writing a file within a Task

On Aug 16 Charlie (Charlie) wrote:

> Hi,
> Ive been getting my program to spawn a task, and was wondering why it
> just didnt work at a certain point, then I remembered
> you cant call dos.library routines within a exec task. I tried to use
> fwrite(), fclose() etc. instead of Write() , Open() etc. probably because
> fwrite() and fclose() use Write() and Close();
>
> I there anyway to write files within an exec task without haveing to
> create it as a Process?

Yes, by resorting to raw packet I/O. Not the nicest way of doing
business and somewhat complicated, too, but if you don't have a choice,
you don't have a choice...



Home: Olaf Barthel, Brabeckstrasse 35, D-30559 Hannover
Net: olsen@sourcery.han.de (Home), olsen@logicalline.com (Work)