Project Line Counter Add-In | CodeGuru

Project Line Counter Add-In

Environment: Visual C++ 5 and 6 Description The Project Line Counter add-in reports statistics about files in your Visual C++ projects. Line Counter was created in order to demonstrate various programming tools and techniques. Features Varied statistical data about your source code, including: Number of lines Lines with code Lines with C/C++ style comments Mixed […]

Written By
CodeGuru Staff
CodeGuru Staff
May 6, 2000
2 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Line Counter Main Dialog

Project Statistics

Environment: Visual C++ 5 and 6

Description

The Project Line Counter add-in reports statistics about files in your Visual
C++ projects. Line Counter was created in order to demonstrate various
programming tools and techniques.

Features

  • Varied statistical data about your source code, including:
    • Number of lines
    • Lines with code
    • Lines with C/C++ style comments
    • Mixed lines (code and comments)
  • Reports the distribution of files in your project, by extension.
     NEW!
  • Can export the statistical data to a text report file.
     NEW!
  • Automatic scan of your project file.
  • Single-click activation.
  • Various parsing options.
  • Online help.
  • Full source code.

The Source Code

Line Counter is a demo/proof of concept application for demonstrating various
technologies:

  1. Reusable components from WndTabs
    (pluggable online help, registry configuration, etc.)
  2. The Add-In Communication Library.
  3. Joshua Jensen’s Workspace Whiz!
    Interface
    a powerful extension library for DevStudio add-ins.

All of these components are discussed in detail in the add-in’s on-line help file.

Advertisement

What’s New?

Version 1.11 is a maintenance release that adds support for WWhizInterface! v2.10

The previous Version 1.10 was a maintenance release, with some new
features and a few internal changes:

  • Line-Counter no longer uses the STL, and dependencies on the various
    STL runtime libraries (such as MSVCP60.dll) has been removed.
  • New feature: A file summary dialog which displays the distribution of files
    by extension.
  • New feature: Ability to export the statistical results as a simple text
    report.
  • The old HTML Help support module (HTMLHelpBase.cpp) has been replaced
    with a new and much improved support module (HHSupp.cpp). Unlike the
    old HTMLHelpBase which only handled help for dialogs and property pages,
    the new support module supports full MFC applications. There
    have also been improvements in the dialog handling code.

See the full version history.

Downloads

Download binaries (v1.11) – 117 KB
Download binaries with source (v1.11) – 221 KB
NOTE: Please refer to the PLC.txt file for installation
instructions.

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.