Search:

Type: Posts; User: gidion

Search: Search took 0.02 seconds.

  1. Replies
    25
    Views
    7,894

    ahhh, Didn't realise it was possible to have 2...

    ahhh,
    Didn't realise it was possible to have 2 handles open for the same file. Or even that the create process leaves it in an open state.

    Will look into how to print the handle (as output is all...
  2. Replies
    25
    Views
    7,894

    are we getting off topic here :-P Any ideas...

    are we getting off topic here :-P

    Any ideas whether my 2 possible reasons for this error are correct and/or how to resolve?
  3. Replies
    25
    Views
    7,894

    From my limited experience it seems to me that...

    From my limited experience it seems to me that one of the following is happening:

    1) the code used to open the file (switch case 4) is changing the permissions in some way as to restrict deletion....
  4. Replies
    25
    Views
    7,894

    Sorry, Just to clarify, the delete procedure...

    Sorry,

    Just to clarify, the delete procedure performs a close on the handle before attempting the delete.
    This close succeeds but the subsequent delete fails.

    When running this on my system...
  5. Replies
    25
    Views
    7,894

    I have tried to give the FILE_SHARE_WRITE | READ...

    I have tried to give the FILE_SHARE_WRITE | READ | DELETE permissions but that seems to error.

    If you run the above code it allows you to create file, when you then open file you get a success...
  6. Replies
    25
    Views
    7,894

    C Delete opened file

    Hi,

    I am in the early stages of learning C (previously coded in java, PHP etc.).

    The code below is a simple menu which enables you to:
    create, delete, open and close a file.

    The problem i...
Results 1 to 6 of 6