11eb3ae854
- aggiornamento.
33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// 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
|
|
|
|
#define NOMINMAX
|
|
#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) ;
|