Yes that's a better splint.exe. Using your splintrc settings I get this for FindFile.c
Splint 3.1.1 --- 12 April 2003
D:\PellesC\Projects\Findfile_Uni\find.h(6,1): Macro WIN32_LEAN_AND_MEAN already defined
Command Line: Previous definition of WIN32_LEAN_AND_MEAN
< Location unknown >: Field name reused:
Code cannot be parsed. For help on parse errors, see splint -help parseerrors. (Use -syntax to inhibit warning)
< Location unknown >: Previous use of
< Location unknown >: Previous use of
< Location unknown >: Previous use of
< Location unknown >: Previous use of
D:\PellesC\Projects\Findfile_Uni\FindFile.c(54,31): Static g_strDepends initialized to null value: g_strDepends = NULL
A reference with no null annotation is assigned or initialized to NULL. Use /*@null@*/ to declare the reference as a possibly null pointer. (Use -nullassign to inhibit warning)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(54,31): Static g_strDepends initialized to null value: TCHAR * g_strDepends = NULL = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(65,45): Static pSubClassPictureBoxProc initialized to null value: pSubClassPictureBoxProc = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(65,45): Static pSubClassPictureBoxProc initialized to null value: WNDPROC pSubClassPictureBoxProc = NULL = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(66,43): Static pSubClassTextBoxProc initialized to null value: pSubClassTextBoxProc = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(66,43): Static pSubClassTextBoxProc initialized to null value: WNDPROC pSubClassTextBoxProc = NULL = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(67,47): Static pSubClassRenameEditBoxProc initialized to null value: pSubClassRenameEditBoxProc = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(67,47): Static pSubClassRenameEditBoxProc initialized to null value: WNDPROC pSubClassRenameEditBoxProc = NULL = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(68,43): Static pSubClassExtPaneProc initialized to null value: pSubClassExtPaneProc = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(68,43): Static pSubClassExtPaneProc initialized to null value: WNDPROC pSubClassExtPaneProc = NULL = NULL
D:\PellesC\Projects\Findfile_Uni\FindFile.c(93,19): Initializer block for g_dlg has 5 fields, but RD has 8 fields: 1, 3, 320, 203, 1
Initializer does not set every field in the structure. (Use -fullinitblock to inhibit warning)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(94,19): Initializer block for g_bk has 4 fields, but RD has 8 fields: 3, 4, 80, 204
D:\PellesC\Projects\Findfile_Uni\FindFile.c: (in function CallBackProc)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(138,23): Initializer block for lvI has 1 field, but LVITEMA has 10 fields: 0
D:\PellesC\Projects\Findfile_Uni\FindFile.c(142,12): New fresh storage (type HWND) passed as implicitly temp (not released): GetDlgItem(g_hwndMain, 2)
A memory leak has been detected. Storage allocated locally is not released before the last reference to it is lost. (Use -mustfreefresh to inhibit warning)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(142,3): Return value (type HWND) ignored: SetFocus(GetDlgI...
Result returned by function call is not used. If this is intended, can cast result to (void) to eliminate message. (Use -retvalother to inhibit warning)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(147,34): New fresh storage (type HWND) passed as implicitly temp (not released): (GetDlgItem(g_hwndMain, 153))
D:\PellesC\Projects\Findfile_Uni\FindFile.c(149,3): Implicitly only storage lvI.pszText (type LPSTR) not released before assignment: lvI.pszText = NULL
A memory leak has been detected. Only-qualified storage is not released before the last reference to it is lost. (Use -mustfreeonly to inhibit warning)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(151,3): Return value (type LRESULT) ignored: SendDlgItemMessa...
D:\PellesC\Projects\Findfile_Uni\FindFile.c(157,28): Passed storage s not completely defined (*s is undefined): LoadStringA (..., s, ...)
Storage derivable from a parameter, return value or global is not defined. Use /*@out@*/ to denote passed or returned storage which need not be defined. (Use -compdef to inhibit warning)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(157,3): Return value (type int) ignored: LoadStringA(g_hI...
Result returned by function call is not used. If this is intended, can cast result to (void) to eliminate message. (Use -retvalint to inhibit warning)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(159,10): Parameter 1 (g_sGen0) to function strcat is declared unique but may be aliased externally by parameter 2 ((TCHAR *)name)
A unique or only parameter may be aliased by some other parameter or visible global. (Use -mayaliasunique to inhibit warning)
D:\PellesC\Projects\Findfile_Uni\FindFile.c(160,3): Return value (type LRESULT) ignored: SendDlgItemMessa...
D:\PellesC\Projects\Findfile_Uni\FindFile.c(167,9): Parse Error. (For help on parse errors, see splint -help parseerrors.)
*** Cannot continue.
*** Program return 1 ***
Thanks for your input.
John