Finding if a file is open.

M

mbahl

Is there a CRT method to find if a file is open.
Or a way to get the refcount on itz open handles.
 
K

Karl Heinz Buchegger

mbahl said:
Is there a CRT method to find if a file is open.
Or a way to get the refcount on itz open handles.

Not in Standard C++.
But your platform may provide such functionality.
Unfortunately this is not the place to ask for
platform specific things.
 
R

Rolf Magnus

mbahl said:
Is there a CRT method to find if a file is open.

CRT? Cathode Ray Tube?
Or a way to get the refcount on itz open handles.

None in standard C++. You need to use system specific functions. Or is
that what you meant by "CRT"?
 
P

Petec

Rolf said:
CRT? Cathode Ray Tube?


None in standard C++. You need to use system specific functions. Or is
that what you meant by "CRT"?

I believe by CRT he is referring to the "C Runtime Library", which is
Microsoft's name for their standard C library, with some non-standard
extensions.

- Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top