Cambios para independizar el nombre del producto en la licencia

Gerardo/estandarizacion
Gerardo 2023-01-18 00:26:19 +01:00
parent 3e01a1ffa1
commit 4eaa73acf4
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<UseOfMfc>Dynamic</UseOfMfc>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>

View File

@ -29,7 +29,7 @@
CWinApp theApp;
using namespace std;
#define NOMBRE_PRODUCTO "OliviaTasks_3_1.exe"
#define NOMBRE_PRODUCTO "OliviaTasks_3_1"
BOOL coge_param(char *cmdline, OlvTaskProcess *task);
@ -86,7 +86,7 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCm
Cdir_manager::dir_anterior(strtem);
sprintf(lic.dirLic,"%s\\", strtem);
sprintf(lic.dirTemp,"%s\\", app->log.path);
if(!lic.cargaLicencia(NOMBRE_PRODUCTO))
if(!lic.cargaLicencia(NULL,NOMBRE_PRODUCTO))
{
C_log::log("_tmain", "Error al comprobar versión");
#ifdef _DEBUG