Click here to Skip to main content
11,575,109 members (73,290 online)
Click here to Skip to main content
Add your own
alternative version

KeePass Password Safe

, 3 Apr 2015 CPOL 637.9K 21.6K 690
KeePass is a free, open-source, light-weight and easy-to-use password safe.
KeePass.zip
KeePass.chm
KeePass.exe
KeePass_Src.zip
Build
Docs
Ext
Icons
Finals
Finals2
plock-blu.ico
plock-dis.ico
plock.ico
plockb.ico
key-blu.png
key-bw.png
key-grn.ico
key-grn.png
plock-blu.ico
plock-blu.png
plock-bw.png
plock-dis.ico
plock-grn.ico
plock-grn.png
plock.ico
plock.png
plockb.png
plockbw-r.png
plockbw.png
Untitled.ico
key-org.ico
keyhole-grn.ico
lockblue.ico
lockgreen.ico
lockred.ico
lockyellow.ico
plockb.ico
plockb2.ico
plockbw.ico
plockg.ico
plocko.ico
plockr.ico
plocky.ico
Icons_Nuvola
KeePass.ini
KeePass.iss
KeePassMsi
KeePassMsi.vdproj
KeePassLibC
KeePassLibCpp
Crypto
SHA2
DataExchange
Details
IO
PasswordGenerator
SDK
Details
SysSpec_Windows
Util
KeePassAPI
KeePassLib.def
res
WinGUI
NewGUI
TaskbarListEx
TaskDialog
VistaMenu
Plugins
res
autotype.bmp
cancel.bmp
clienticex.bmp
clock.bmp
disk.bmp
document.bmp
entry_ed.ico
file.bmp
help_sma.bmp
help_smp.bmp
iconpic.ico
infoicon.bmp
infoiconex.bmp
KeePass.png
key.ico
keyhole.ico
key_smal.bmp
language.bmp
locked.ico
lock_ovr.ico
MostPopularPasswords.bin
mouse_sm.bmp
ok.bmp
optionicex.bmp
options.ico
plugins.ico
PwSafe.ico
randomke.bmp
random_b.bmp
search.ico
tb_about.bmp
tb_adden.bmp
tb_copyp.bmp
tb_copyu.bmp
tb_defau.bmp
tb_delet.bmp
tb_edite.bmp
tb_find.bmp
tb_lock.bmp
tb_new.bmp
tb_open.bmp
tb_save.bmp
tb_save1.bmp
tb_saved.bmp
toolssma.bmp
unlocked.ico
winprops.bmp
world.ico
Util
CmdLine
SprEngine
/*
Module : VersionInfo.H
Purpose: Interface for an MFC class encapsulation of "Version Infos"
Created: PJN / 10-04-2000

Copyright (c) 2000 - 2008 by PJ Naughter (Web: www.naughter.com, Email: pjna@naughter.com)

All rights reserved.

Copyright / Usage Details:

You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise) 
when your product is released in binary form. You are allowed to modify the source code in any way you want 
except you cannot modify the copyright details at the top of each module. If you want to distribute source 
code with your application, then you are only allowed to distribute versions released by the author. This is 
to maintain a single distribution point for the source code. 

*/


/////////////////////////////// Macros / Defines //////////////////////////////

#pragma once

#ifndef __VERSIONINFO_H__
#define __VERSIONINFO_H__
 
#ifndef CVERSIONINFO_EXT_CLASS
#define CVERSIONINFO_EXT_CLASS
#endif
#ifndef CVERSIONINFO_EXT_API
#define CVERSIONINFO_EXT_API
#endif
 

/////////////////////////////// Classes ///////////////////////////////////////

class CVERSIONINFO_EXT_CLASS CVersionInfo
{
public:
  struct TRANSLATION
  {
    WORD m_wLangID;   //e.g. 0x0409 LANG_ENGLISH, SUBLANG_ENGLISH_USA
    WORD m_wCodePage; //e.g. 1252 Codepage for Windows:Multilingual
  };

//Constructors / Destructors
  CVersionInfo();
  ~CVersionInfo();

//methods:
  BOOL                          Load(LPCTSTR szFileName);
  VS_FIXEDFILEINFO*             GetFixedFileInfo();
  DWORD                         GetFileFlagsMask();
  DWORD                         GetFileFlags();
  DWORD                         GetOS();
  DWORD                         GetFileType();
  DWORD                         GetFileSubType();
  FILETIME                      GetCreationTime();
  unsigned __int64              GetFileVersion();
  unsigned __int64              GetProductVersion();
  CString                       GetValue(const CString& sKeyName);
  CString                       GetComments();
  CString                       GetCompanyName();
  CString                       GetFileDescription();
  CString                       GetFileVersionAsString();
  CString                       GetInternalName();
  CString                       GetLegalCopyright();
  CString                       GetLegalTrademarks();
  CString                       GetOriginalFilename();
  CString                       GetPrivateBuild();
  CString                       GetProductName();
  CString                       GetProductVersionAsString();
  CString                       GetSpecialBuild();
  int                           GetNumberOfTranslations();
  TRANSLATION*                  GetTranslation(int nIndex);
  void                          SetTranslation(int nIndex);
  
protected:
//Methods
  void Unload();

//Data
  WORD                m_wLangID;       //The current language ID of the resource
  WORD                m_wCharset;      //The current Character set ID of the resource
  ATL::CHeapPtr<BYTE> m_VerData;       //Pointer to the version info blob
  TRANSLATION*        m_pTranslations; //Pointer to the "\\VarFileInfo\\Translation" version info
  int                 m_nTranslations; //The number of translated version infos in the resource
  VS_FIXEDFILEINFO*   m_pffi;          //Pointer to the fixed size version info data
};

#endif //__VERSIONINFO_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)

Share

About the Author

Dominik Reichl
Software Developer
Germany Germany
Dominik started programming in Omikron Basic, a programming language for the good old Atari ST. After this, there was some short period of QBasic programming on the PC, but soon he began learning C++, which is his favorite language up to now.

Today, his programming experience includes C / C++ / [Visual] C++ [MFC], C#/.NET, Java, JavaScript, PHP and HTML and the basics of pure assembler.

He is interested in almost everything that has to do with computing, his special interests are security and data compression.

You can find his latest freeware, open-source projects and all articles on his homepage: http://www.dominik-reichl.de/

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150624.2 | Last Updated 3 Apr 2015
Article Copyright 2003 by Dominik Reichl
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid