Alistair Leslie-Hughes <leslie_alistair at hotmail.com> wrote: > static HANDLE create_file_OF( LPCSTR path, INT mode ) > { > DWORD access, sharing, creation; > + HANDLE ret; > + char *fullpath = NULL; Initialization to NULL is redundant, you could pass NULL directly to SearchPath(). -- Dmitry.