1) i want to use searchfile API.
The SearchPath function searches for the specified file.
LPCTSTR lpPath, // address of search path
LPCTSTR lpFileName, // address of filename
LPCTSTR lpExtension, // address of extension
DWORD nBufferLength, // size, in characters, of buffer
LPTSTR lpBuffer, // address of buffer for found filename
LPTSTR *lpFilePart // address of pointer to file component
i dont know how lpFilePart needs to be used. Code snippets will clear my doubt.
2) suppose that i m coding multiprocessing programm. now dialog1 calls another process (or creates ) say another dialog2. now i want that only dialog2 can be opened only from dialog1 and know other way. how can i do that?? do i need to change security attributes.
sorry if my questions are too foolish.