Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

lint for resource files?

3 views
Skip to first unread message

Phlip

unread,
Dec 10, 2003, 2:02:49 PM12/10/03
to
Newsgroupies:

Lint is a program invented to give K&R C type checking stronger than
"portable assembler". It went on to complain about nearly everything
in a source file.

Is there a lint-style parser for RC files, to look for GUI or syntax
trouble?

At the very least, one could check that each menu item and dialog
label has a & hot key, that the accel tables reflect in the menus,
etc.

--
Phlip

Phlip

unread,
Dec 19, 2003, 1:09:18 AM12/19/03
to
Phlip wrote:

I found one! (That was quick;)

It's here: http://www.c2.com/cgi/wiki?MsWindowsResourceLint

It reputedly detects...

* Button missing hotkey
* Duplicated Control hotkey
* Duplicated MenuItem? hotkey
* Missing & in Menu Label
* Missing accelerator prompt in Menu Label
(the Ctrl+C thing on the right)
* Missing StringTable? help for MenuItem?
* Prompt at end of control list
* Prompt before control without tabstop

--
Phlip

0 new messages