Click here to Skip to main content
13,295,192 members (64,069 online)
Click here to Skip to main content


52 bookmarked
Posted 10 Oct 2004

LintProject - Improving the Usability of PC-Lint with Visual C++ Solutions and Projects

Utility to run PC-Lint on Visual C++ solutions and projects, generating XML and HTML reports of the results.
 *  Description : Precompiled header file for standard system include files,
 *                or project specific include files that are used frequently,
 *                but are changed infrequently
 *     (c) Copyright 2004-2008 by Anna-Jayne Metcalfe (
 *     and Beth Mackenzie ( / Riverblade Limited
 *  Licence Terms:
 *     This code may be freely reused, subject to the licence terms below.
 *     Please do let us know of any bugs you find or improvements you make,
 *     so that we can pass them on to the rest of the development community.
 *     This code is free software; you can redistribute it and/or
 *     modify it under the terms of the Code Project Open License (CPOL)
 *     version 1.0 (
 *     This code is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     Code Project Open Licence for further details.
 *    $Archive: /Projects/Applications/LintProject/1.4/StdAfx.h $
 *   $Revision: 14 $
 *       $Date: 21/10/08 22:08 $
 *     $Author: Anna $
 * $Nokeywords: $

 /// \file	
 /// \brief Precompiled header file.

#if !defined(AFX_STDAFX_H__6FA20986_419B_4D75_BB13_C4EF8C4FD4BD__INCLUDED_)
#define AFX_STDAFX_H__6FA20986_419B_4D75_BB13_C4EF8C4FD4BD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#ifndef STRICT
#define STRICT

// Change these values to use different versions
#define WINVER			0x0510
#define _WIN32_WINNT	0x0510
#define _WIN32_IE		0x0500
#define _RICHEDIT_VER	0x0100

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS	// some CString constructors will be explicit
#define _ATL_ALL_WARNINGS					// turns off ATL's hiding of some common and often safely ignored warning messages
#define	_WTL_NEW_PAGE_NOTIFY_HANDLERS		// Use WTL 7 style notification handlers
#define _WTL_NO_CSTRING						// Avoid problems with atlmisc.h
#define _WTL_NO_WTYPES						//				"

#include <shlwapi.h>
#include <shlobj.h>
#import <msxml4.dll> named_guids
#include <iostream>

#include <atlbase.h>
#include <atlstr.h>
#include <atlcomtime.h>
#include <atlsync.h>
#include <atlpath.h>
#include <atlfile.h>
#include <atlcoll.h>

#include <set>
#include <shlwapi.h>


class CLintProjectModule
			:	m_hResourceInstance(NULL)

		HINSTANCE GetResourceInstance(void) const
			return m_hResourceInstance;
		}	//lint !e1763 (Information -- Member function marked as const indirectly modifies class)

		void SetResourceInstance(HINSTANCE hResourceInstance)
			ATLASSERT(NULL != hResourceInstance);
			m_hResourceInstance = hResourceInstance;

		HINSTANCE m_hResourceInstance;

extern CLintProjectModule _Module;

namespace Riverblade
	namespace Libraries

using namespace Riverblade::Libraries;

#define	PRODUCT_NAME	L"LintProject"
#define	PRODUCT_URL		L""

#endif // !defined(AFX_STDAFX_H__6FA20986_419B_4D75_BB13_C4EF8C4FD4BD__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Authors

Anna-Jayne Metcalfe
Founder Riverblade Limited
United Kingdom United Kingdom
I haven't always written software for a living. When I graduated from Surrey University in 1989, it was with an Electronic Engineering degree, but unfortunately that never really gave me the opportunity to do anything particularly interesting (with the possible exception of designing Darth Vader's Codpiece * for the UK Army in 1990).
    * Also known as the Standard Army Bootswitch. But that's another story...
Since the opportunity arose to lead a software team developing C++ software for Avionic Test Systems in 1996, I've not looked back. More recently I've been involved in the development of subsea acoustic navigation systems, digital TV broadcast systems, port security/tracking systems, and most recently software development tools with my own company, Riverblade Ltd.

One of my personal specialities is IDE plug-in development. ResOrg was my first attempt at a plug-in, but my day to day work is with Visual Lint, an interactive code analysis tool environment with works within the Visual Studio and Eclipse IDEs or on build servers.

I love lots of things, but particularly music, photography and anything connected with history or engineering. I despise ignorant, intolerant and obstructive people - and it shows...I can be a bolshy cow if you wind me up the wrong way...Laugh | :laugh:

I'm currently based 15 minutes walk from the beach in Bournemouth on the south coast of England. Since I moved here I've grown to love the place - even if it is full of grockles in Summer!

-+- Beth Mackenzie -+-
Software Developer Riverblade Ltd
United Kingdom United Kingdom
I'm a software developer and/or tester with Riverblade Ltd ( developing our core product range including our Visual Lint integration product and Lint Project Professional.

I incorporate a number of technologies into a daily basis including Windows API, C++ (VS2008), Managed C++, CLI, Databases, Java, JNI, Eclipse Framework, CDT and of course Visual Studio Extensibility (VSIP VSX).

In my spare time I enjoy cooking (prepping ingredients from scratch!), running, cycling, swimming, reading, interested in experimental electronic music (such as ClockDVA), movies, volunteering my IT skills where I can.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171207.1 | Last Updated 29 Jan 2009
Article Copyright 2004 by Anna-Jayne Metcalfe, -+- Beth Mackenzie -+-
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid