🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
5 messages
5 total messages Started by Boba Fri, 31 Mar 2006 17:50
redirecting process output
#4009
Author: Boba
Date: Fri, 31 Mar 2006 17:50
3 lines
992 bytes
Releated to the prev post:  what are security requirements
for those handles? Neither default nor 0s work (in my case).
Boba
Re: redirecting process output
#4012
Author: Remy Lebeau (TeamB)
Date: Fri, 31 Mar 2006 19:01
13 lines
1260 bytes
"Boba" <Boba@somewhere.world> wrote in message
news:442d4e62$1@newsgroups.borland.com...

> what are security requirements for those handles? Neither
> default nor 0s work (in my case).

Just saying it doesn't work says nothing about the actual problem you are
having.  Please provide specific details, errors, etc.  What does your
actual code look like?


Gambit
Re: redirecting process output
#3935
Author: Remy Lebeau (TeamB)
Date: Wed, 05 Apr 2006 17:17
15 lines
1267 bytes
"Boba" <Boba@somewhere.world> wrote in message
news:4433eb48$1@newsgroups.borland.com...

> I couldn't figure out how to set the security
> attributes for a handle returned by FileCreate

You cannot.  FileCreate() always uses the default attributes.

> so i use ::CreateFile.

That is what you will have to do in order to work with security.


Gambit
Re: redirecting process output
#4030
Author: Boba
Date: Wed, 05 Apr 2006 18:13
3 lines
1039 bytes
I couldn't figure out how to set the security
attributes for a handle returned by FileCreate
so i use ::CreateFile.
Re: redirecting process output
#3945
Author: Boba
Date: Thu, 06 Apr 2006 17:07
11 lines
1401 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:4433fc0f$1@newsgroups.borland.com...
>
> You cannot.  FileCreate() always uses the default attributes.

yes, and i wanted to change those attributes...
turns out it's cheaper to use system call.
sow, why is it almost with no exception
(at least in my case) faster to use nativeapi
rather than trying to figure out how VLC works
and what it does ;(
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads