Include : aggiunti Logger e funzioni per Ini file.

This commit is contained in:
Dario Sassi
2013-12-11 18:32:43 +00:00
parent 609dac7878
commit 18e39e00f5
12 changed files with 404 additions and 19 deletions
+31
View File
@@ -0,0 +1,31 @@
//----------------------------------------------------------------------------
// EgalTech 2013-2013
//----------------------------------------------------------------------------
// File : EgnGetModuleVer.h Data : 10.12.13 Versione : 1.4a4
// Contenuto : Prototipo funzione calcolo versione del modulo richiesto.
//
//
//
// Modifiche : 10.12.13 DS Creazione modulo.
// 11.12.13 DS Agg. funzione per calcolo direttorio.
//
//----------------------------------------------------------------------------
#pragma once
#include <windows.h>
#include <string>
//----------------------- Macro per import/export ----------------------------
#undef EGN_EXPORT
#if defined( I_AM_EGN) // da definirsi solo nella DLL
#define EGN_EXPORT __declspec( dllexport)
#else
#define EGN_EXPORT __declspec( dllimport)
#endif
//-----------------------------------------------------------------------------
EGN_EXPORT bool GetModuleVersion( HINSTANCE hModule, std::string& sVer) ;
EGN_EXPORT bool GetModuleDirectory( HINSTANCE hModule, std::string& sDir) ;
EGN_EXPORT bool SetCurrentDirectory( const std::string& sDir) ;