diff --git a/EInAPI.h b/EInAPI.h index b25d6b9..48e0477 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -327,7 +327,7 @@ EIN_EXPORT BOOL __stdcall EgtAtParamVector( int nId, double dU, int nSide, int n EIN_EXPORT BOOL __stdcall EgtFrame( int nId, int nRefId, double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3]) ; EIN_EXPORT BOOL __stdcall EgtCurveLength( int nId, double* pdLen) ; -EIN_EXPORT BOOL __stdcall EgtCurveLengthAtPoint( int nId, double ptOn[3], double* pdLen) ; +EIN_EXPORT BOOL __stdcall EgtCurveLengthAtPoint( int nId, double ptOn[3], double dExtend, double* pdLen) ; EIN_EXPORT BOOL __stdcall EgtCurveExtrusion( int nId, int nRefId, double vtExtr[3]) ; EIN_EXPORT BOOL __stdcall EgtCurveThickness( int nId, double* pdThick) ; EIN_EXPORT BOOL __stdcall EgtGetMinDistPointCurve( const double ptP[3], int nId, double* pdDist) ; diff --git a/EMkDllMain.h b/EMkDllMain.h new file mode 100644 index 0000000..2bc0c49 --- /dev/null +++ b/EMkDllMain.h @@ -0,0 +1,34 @@ +//---------------------------------------------------------------------------- +// EgalTech 2015-2015 +//---------------------------------------------------------------------------- +// File : EMkDllMain.h Data : 22.03.15 Versione : 1.6c6 +// Contenuto : Prototipi funzioni generali della DLL. +// +// +// +// Modifiche : 22.03.15 DS Creazione modulo. +// +// +//---------------------------------------------------------------------------- + +#pragma once + +#include + +class ILogger ; + +//----------------------- Macro per import/export ---------------------------- +#undef EMK_EXPORT +#if defined( I_AM_EMK) // da definirsi solo nella DLL + #define EMK_EXPORT __declspec( dllexport) +#else + #define EMK_EXPORT __declspec( dllimport) +#endif + +//----------------------------------------------------------------------------- +// restituisce la versione della Dll (stringa del tipo 1.4a5) +EMK_EXPORT const char* GetEMkVersion( void) ; +// permette di impostare il logger per la Dll +EMK_EXPORT void SetEMkLogger( ILogger* pLogger) ; +// imposta la chiave di protezione +EMK_EXPORT void SetEMkKey( const std::string& sKey) ;