CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Message "CGDevTools Evaluation"

Here you can find some answers to your questions, and also some tutorials.

by Jorge Sousa » 25 Feb 2013 14:16

[Q] : After installing and activating the CGDevTools product shows the message "CGDevTools Evaluation" in runtime?
[A] : Copied from license.pdf :

C++Builder project modification:

cpp code
//-------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
USEFORM("Unit1.cpp", IWForm1); /* TIWAppForm: File Type */
USEFORM("UserSessionUnit.cpp", IWUserSession); /* TIWUserSessionBase: File Type */
USEFORM("ServerController.cpp", IWServerController); /* TIWServerControllerBase: File Type */
//-------------------------------------------------------------------
#include <IWStart.hpp>
#include "IWCGLicenseKey.h" // <--- Insert this line
//--------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
IWCGLicenseKeyApply(); // <--- Insert this line
TIWStart* p = new TIWStart()
#if /*CB2006*/ (__BORLANDC__ == 0x580) /*Update 1*/ || (__BORLANDC__ == 0x581) || /*CB2007*/ (__BORLANDC__ == 0x593)
p->Execute(NULL, true);
#else
p->Execute(true);
#endif
}
catch (Exception &exception)
{
}
return 0;
} //-------------------------------------------------------------------



Delphi project modification

Delphi project modification
delphi code
program IWCGProject;
uses
Forms,
IWStart,
UTF8ContentParser,
IWCGLicenseKey, // <--- Insert this line
Unit2 in 'Unit2.pas' {IWForm2: TIWAppForm},
ServerController in 'ServerController.pas' {IWServerController: TIWServerControllerBase},
UserSessionUnit in 'UserSessionUnit.pas' {IWUserSession: TIWUserSessionBase};

{$R *.res}

begin
TIWStart.Execute(True);
end.



Best Regards,
cgdevtools
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

Return to Documentation / Tutorials

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.