Click here to Skip to main content
15,894,405 members
Articles / Programming Languages / C++

ToDoList Add-on

Rate me:
Please Sign up or sign in to vote.
4.69/5 (6 votes)
20 Apr 2002CPOL3 min read 242.2K   2.9K   57  
A Visual Studio add-in to help navigate to TODO:, TASK: etc comments, as well as showing STL containers in debug mode such as std::string, std::list etc
/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomonovich, and is bound by the  */
/* MIT open source license (www.opensource.org/licenses/mit-license.html). */
/* See License.txt for more information.                                   */
/***************************************************************************/

// AddInComm Loader, (AIC 1.4.0 - December 2000)

#ifndef __AICLOADER_H
#define __AICLOADER_H

/* Will load the AIC library.  
   Debug builds try to load AICD.mod be default, release builds try to load 
   AIC.mod.  To override this behavior use UseDeubgLibrary();
*/
bool aiclLoadAICLibrary(HINSTANCE hInst);

/* Will force the AIC library to unload.  The Use of this function is 
   optional. 
*/
void aiclUnloadAICLibrary();

/* Override default library load:
   TRUE   -  Use debugging version of AIC (AICD.mod)
   FALSE  -  Use release version of AIC (AIC.mod)
*/
void aiclUseDebugLibrary(BOOL bUse);

bool aiclIsAICLoaded();


/* == AICL functionality not related to AddInComm == */
/* (some internal loader function that should be useful to outsiders) */

/* These functions allow you to extract the content of a file's version 
   resource.  You can either specify a file name (aiclGetFileVersion()) or
   a name or a running module (aiclGetModuleVersion()).
   Return value: 'true'-success, 'false'-failure
*/
bool aiclGetFileVersion  (LPCTSTR pszPath, LPSTR out_pszVer);
bool aiclGetModuleVersion(LPCTSTR pszMod,  LPSTR out_pszVer);

/* Returns DevStudio's registry key in HKEY_CURRENT_USER (works only when
   DevStudio is running).
   Return value: 'true'-success, 'false'-failure
*/
bool aiclGetDSCurrentUserRegKey(LPSTR out_pszKeyName);

/* Returns DevStudio's add-in directory (empty string returned on error) */
void aiclGetDSAddInDir(LPSTR out_pszPath, DWORD cb);


/* aicl's version of the Win32 ::LoadLibrary() function will attempt to
   load the a .dll in the following order:
     1. the standard Win32 search order (see description of LoadLibrary)
     2. in the same directory your add-in resides
     3. in the DevStudio add-ins directory
*/
HINSTANCE aiclLoadLibByFileName(HINSTANCE hMyInst, const char *pszFileName);


#endif // __AICLOADER_H

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.

License

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


Written By
CEO ArtfulBits Inc.
Ukraine Ukraine
Name:Kucherenko Oleksandr

Born:September 20, 1979

Platforms: Win32, Linux; - well known and MS-DOS; Win16; OS/2 - old time not touched;

Hardware: IBM PC

Programming Languages: Assembler (for Intel 80386); Borland C/C++; Borland Pascal; Object Pascal; Borland C++Builder; Delphi; Perl; Java; Visual C++; Visual J++; UML; XML/XSL; C#; VB.NET; T-SQL; PL/SQL; and etc.

Development Environments: MS Visual Studio 2001-2008; MS Visual C++; Borland Delphi; Borland C++Builder; C/C++ any; Rational Rose; GDPro; Together and etc.

Libraries: STL, ATL, WTL, MFC, NuMega Driver Works, VCL; .NET 1.0, 1.1, 2.0, 3.5; and etc.

Technologies: Client/Server; COM; DirectX; DirectX Media; BDE; HTML/DHTML; ActiveX; Java Servlets; DCOM; COM+; ADO; CORBA; .NET; Windows Forms; GDI/GDI+; and etc.

Application Skills: Databases - design and maintain, support, programming; GUI Design; System Programming, Security; Business Software Development. Win/Web Services development and etc.

Comments and Discussions