https://remainsoftware.com/




CA Plex6.1 (Build 43.035) is mandatory to take advantage of the new model api and fixes.

Step1 - Model Configuration

The Remain Model API Tool consists of WinC Client functions and AS400 Server Functions so the default settings are fine.

Step2 - Register ActiveX

ActiveX

Step3 - Register Model API

PROBLEM DESCRIPTION: Generation error GEN60001 occurs when generating a Model API application:

'Package PlexAPILib30 (PlexAPI 3.0 Type Library), GUID {AB54000F-90A2-11d4-
A84A-0008C78C4894}, version 3.0 was not found on this machine.'


PROBLEM CAUSE:
PlexAPI 3.0 Type Library is not properly registered.


CIRCUMVENTION:
PlexAPI 3.0 Type Library needs to be manually registered with 'Plex.exe
/RegServer' command.


SEVERITY: MEDIUM
HYPER: NO


PRODUCTS AFFECTED: CA Plex r6.1 on Windows 7 and Windows Server 2008 R2.

You won't get a confirmation message as you usually do if successful. "You will not see any feedback from doing this (sorry!), but the interface should now be registered

Step4 - Edit OBCORE.H

Cue Banners and DisableProcessWindowsGhosting ( WINAPI Function) can not be compiled until CA Plex supplied C:\Program Files (x86)\CA\Plex\6.1\include\OBCORE.H file is edited from:

// LAYRO01 BEGIN .NET migration
// Stop "C4005: '_WIN32_WINNT' : macro redefinition" Warning


//#define _WIN32_WINNT 0x0400

#ifndef _WIN32_WINNT

#define _WIN32_WINNT 0x0400

#endif



// LAYRO01 END .NET migration

to

// LAYRO01 BEGIN .NET migration
// Stop "C4005: '_WIN32_WINNT' : macro redefinition" Warning


//#define _WIN32_WINNT 0x0400

#ifndef _WIN32_WINNT

//#define _WIN32_WINNT 0x0400

#define _WIN32_WINNT 0x0600

#endif


// LAYRO01 END .NET migration

If you don't edit the header file you will get the following Visual Studio 2005 compile errors:

------------------------------------------------------------------------------------------


Starting Build of StellaTools.AutoTestBox.UI.Wizard.Wizard - Release


COMPILE : error C3861: 'DisableProcessWindowsGhosting': identifier not found


c:\PlexLocal\STELLA\Gen\StellaWiz.CPP - Line 1059


COMPILE : error C2039: 'SetCueBanner' : is not a member of 'CEdit'


c:\PlexLocal\STELLA\Gen\StellaWiz.CPP - Line 5933


Finished Build of StellaTools.AutoTestBox.UI.Wizard.Wizard - Release with 2 error(s), 0 warning(s)


------------------------------------------------------------------------------------------

Step5 - Gen&Build Settings

Linker Options - http://wiki.plexinfo.net/index.php?title=Windows_XP_Look_and_Feel_for_WinC

"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'"



Use Pre-built C++ libraries
C:\StellaTools\Objects\Lib\Plex6.1\ob600PlexExt.lib;
C:\StellaTools\Objects\Lib\Plex6.1\PDate.lib;
C:\StellaTools\Objects\Lib\Plex6.1\Version.rct

Use Pre-built C++ Header Directories
C:\StellaTools\Objects\Headers\Headers

Resource Directories
C:\StellaTools\Objects\Images\Tools

Step6 - Generate and Build subject areas

Subject area: StellaTools_Remain

If you get the following build error you have not registered the tssBalloonTip2.dll      'regsvr32 tssBalloonTip2.dll'
*********************************************************************************

START Build Summary for C:\Project\StellaTools\Gen\StellaTools.obl
Submitted by XXX on Thu Dec 05 15:03:53 2013
********************************************************************************
-------------------------------------------------------------------------------------
Starting Build of _StellaTools Precompiled Header - Release
Finished build of _StellaTools Precompiled Header - Release successfully.
------------------------------------------------------------------------------------------
Starting Build of tssBalloonTip222tssBalloonTip222_pkg - Release
COMPILE : fatal error C1083: Cannot open type library file: '': No such file or directory
c:\project\stellatools\gen\tssBalloonTip222.h - Line 30
Finished Build of tssBalloonTip222tssBalloonTip222_pkg - Release with 1 error(s), 0 warning(s)
*************************************************************************************
END Build Summary 1 error(s), 0 warning(s)

Step7 - Create Exe and INI file settings

StellaTools.Remain.UI.GroupingContainerToConnect
StellaTools.Remain.UI.ObjectsToConnect
StellaTools.Remain.UI.ObjectsToConnect.Shunt

Step8 - Copy INI files

Copy the template INI files from C:\StellaTools\Objects\Example of INI  to    C:\StellaTools\Release directory

Step9 - Runtime Objects (icons, avi)

Copy the contents of C:\StellaTools\Objects\Runtime   to    C:\StellaTools\Release directory

Step10 - Add-Ins settings

Edit your Plex.INI file. It will be something like C:\Users\myname\Documents\CA\Plex\6.1\Plex.ini

[ADDINS]

Name1=Remain by Group [StellaTools]
Icon1=C:\StellaTools\Release\StellaRemainGroup.EXE
Command1=C:\StellaTools\Release\StellaRemainGroup.EXE
Parameters1=

Name2=Remain by OB [StellaTools]
Icon2=C:\StellaTools\Release\StellaRemainObjectsS.EXE
Command2=C:\StellaTools\Release\StellaRemainObjectsS.EXE
Parameters2=StellaRemainObjectsS StellaRemainObjectsS RS "$AllRefs"