Thread: "File System Listening" (?)

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    16

    "File System Listening" (?)

    Hello.
    Do you know if it it's possible for a app to know whether a specific program's fopen has failed (under windows)? Example of what I'm looking for would be:
    "App A attempts to open file Y (which doesn't exist)" -> "fopen fails" -> "Something triggers an event on App B"
    Thank you for your time.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You will have to manually notify App B in some way. I'd ask in the Windows forum.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Use system("file location") to open root folder?
    By muffinman8641 in forum C++ Programming
    Replies: 9
    Last Post: 03-17-2011, 10:45 AM
  2. error : "the system cannot find the file specified"
    By arian in forum C++ Programming
    Replies: 11
    Last Post: 03-06-2011, 01:15 PM
  3. Replies: 18
    Last Post: 05-26-2008, 11:23 PM
  4. "::" in Mac Classic file system
    By dwks in forum Tech Board
    Replies: 2
    Last Post: 08-04-2006, 08:46 PM
  5. "itoa"-"_itoa" , "inp"-"_inp", Why some functions have "
    By L.O.K. in forum Windows Programming
    Replies: 5
    Last Post: 12-08-2002, 08:25 AM