![]() CA Plex6.1 (Build 43.035) is mandatory to take advantage of the new model api and fixes. Step1 - Model ConfigurationModel API Tools consists of only WinC Client functions so the default settings are fine. BUT if you are also building AutoTestBox, set the appropriate StellaTL Variant now as it won't harm the build of the model api tools but is a pain if you forget to set it for ATB.![]() Step2 - Register ActiveXActiveXStep3 - Register Model APIPROBLEM 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.HCue 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 SettingsLinker 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 areasSubject area: StellaTools1_InternalsWinCSubject area: StellaTools2_ExternalsWinC[Tool] 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 settingsSubject area: StellaTools3_FncExeWinC![]() Step8 - Copy INI filesCopy 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 directoryStep10 - Add-Ins settingsEdit your Plex.INI file. It will be something like C:\Users\myname\Documents\CA\Plex\6.1\Plex.ini
[ADDINS] Name7=List Objects [StellaTools] Icon7=C:\StellaTools\Release\StellaListObjects.EXE Command7=C:\StellaTools\Release\StellaListObjects.EXE Parameters7= Name8=DocumentObject [StellaTools] Icon8=C:\StellaTools\Release\StellaDocObj.EXE Command8=C:\StellaTools\Release\StellaCheckRegActiveX.EXE Parameters8=StellaCheckRegActiveX StellaCheckRegActiveX RS $ObjRef Name9=Load URL from Narrative [StellaTools] Icon9=C:\StellaTools\Release\StellaLoadURL.EXE Command9=C:\StellaTools\Release\StellaLoadURL.EXE Parameters9=StellaLoadURL StellaLoadURL RS $ObjRef "N" Name10=Search Large Properties [StellaTools] Icon10=C:\StellaTools\Release\StellaSrchLP.EXE Command10=C:\StellaTools\Release\StellaSrchLP.EXE Parameters10= Name11=Export Large Properties [StellaTools] Icon11=C:\StellaTools\Release\StellaExportLP.EXE Command11=C:\StellaTools\Release\StellaExportLP.EXE Parameters11= Name12=Import List [StellaTools] Icon12=C:\StellaTools\Release\StellaCrtListLP.EXE Command12=C:\StellaTools\Release\StellaCrtListLP.EXE Parameters12= Name13=Implemented Programs [StellaTools] Icon13=C:\StellaTools\Release\StellaImpObjs.EXE Command13=C:\StellaTools\Release\StellaImpObjs.EXE Parameters13= Name14=Edit Large Property [StellaTools] Icon14=C:\StellaTools\Release\StellaEdtLP.EXE Command14=C:\StellaTools\Release\StellaEdtLP.EXE Parameters14=StellaEdtLP StellaEdtLP RS $ObjRef "1" Name15=Create LP Export File [StellaTools] Icon15=C:\StellaTools\Release\StellaCrtLPExportFile.EXE Command15=C:\StellaTools\Release\StellaCrtLPExportFile.EXE Parameters15=StellaCrtLPExportFile StellaCrtLPExportFile RS $ObjRef Name16=OB_Grid [StellaTools] Icon16=C:\StellaTools\Release\StellaOBGrid.EXE Command16=C:\StellaTools\Release\StellaOBGridS.EXE Parameters16=StellaOBGridS StellaOBGridS RS "$AllRefs" Name17=OB_Tree [StellaTools] Icon17=C:\StellaTools\Release\StellaOBTree.EXE Command17=C:\StellaTools\Release\StellaOBTreeS.EXE Parameters17=StellaOBTreeS StellaOBTreeS RS "$AllRefs" Name18=Create List [StellaTools] Icon18=C:\StellaTools\Release\StellaCreateList.EXE Command18=C:\StellaTools\Release\StellaCreateList.EXE Parameters18=StellaCreateList StellaCreateList RS "$AllRefs" Name19=TriplesByTarget [StellaTools] Icon19=C:\StellaTools\Release\StellaDspTrpTarget.EXE Command19=C:\StellaTools\Release\StellaDspTrpTarget.EXE Parameters19=StellaDspTrpTarget StellaDspTrpTarget RS $ObjRef Name20=TriplesBySource [StellaTools] Icon20=C:\StellaTools\Release\StellaDspTrpSource.EXE Command20=C:\StellaTools\Release\StellaDspTrpSource.EXE Parameters20=StellaDspTrpSource StellaDspTrpSource RS $ObjRef |