CnPack Forum


 
Subject: Custom DLL - not compiling! PLEASE HELP!
tid1
新警察
Rank: 1



UID 433014
Digest Posts 0
Credits 27
Posts 8
点点分 27
Reading Access 10
Registered 2017-11-24
Status Offline
Post at 2017-11-24 05:22  Profile | Blog | P.M. 
Custom DLL - not compiling! PLEASE HELP!

Since several days I try to create a custom DLL for Cnpack because 90% of CnWizards I don't need.

After hours I archieved to compile CnCustBuild. But now I can do whatever I want... I can not compile CnWizards_D102T.dll !

Reason it says me:

first it can not find "csButton" in cnSrcEditorToolbar. To fix this I just added csButton = 'Button' const in this file.

But now the problem! It can not find TCnFlatToolbarConfigForm in cnwizards-master\Source\SrcEditorEnhance\CnSrcEditorToolBar.pas (TCnSrcEditorToolBarMgr.ConfigToolBar).
It can't find SetStyle, tbsEditor, ToolbarActions and ShowModal neither.

WHAT CAN I DO ?!

I use Delphi Tokyo ... just Delphi. No FMX and all this.

[ Last edited by  tid1 at 2017-11-24 05:56 ]


Image Attachment: 1.png (2017-11-24 05:54, 20.33 K)

Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6750
Posts 3551
点点分 6750
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2017-11-24 09:48  Profile | Blog | P.M. 
Seems there're some dependencies not checked in Custom Build inc file.

Could you mail me the CnWizards.inc about the 4th step:

4. In CnCustBuild Window, Select the Wizards you want, and Press 'Save'
   to save the CnWizards.inc file.

I'll check the dependencies.
Top
tid1
新警察
Rank: 1



UID 433014
Digest Posts 0
Credits 27
Posts 8
点点分 27
Reading Access 10
Registered 2017-11-24
Status Offline
Post at 2017-11-24 19:57  Profile | Blog | P.M. 
The thing is, in other units of the same project (CnWizards_D102T.dll) it doesn't complain about missing TCnFlatToolbarConfigForm.

CnWizards.inc:

{******************************************************************************}
{                       CnPack For Delphi/C++Builder                           }
{                     ???ú??×???????·?????????·???·?°ü                         }
{                   (C)Copyright 2001-2017 CnPack ??·?×é                       }
{                   ------------------------------------                       }
{                                                                              }
{            ±???·?°ü????????×????í?????ú????×??? CnPack ??·??????é????        }
{        ????????·??????????ò??                                                }
{                                                                              }
{            ·?????????·?°ü?????????????ü??????????????????±???????????        }
{        ???????¨??????????????±????ü?ê?????é???????? CnPack ·??????é??        }
{                                                                              }
{            ?ú????????????·?°ü??????????·? CnPack ·??????é???±±???????        }
{        ??????????·???????????????                                            }
{                                                                              }
{            ???????·??http://www.cnpack.org                                   }
{            ??×???????master@cnpack.org                                       }
{                                                                              }
{******************************************************************************}

{$I CnPack.inc}

{$IFDEF CNWIZARDS_LITE}

{$I CnWizards_Lite.inc}

{$ELSE}

// Wizard: CnFastCodeWizard
// {$DEFINE CNWIZARDS_CNFASTCODEWIZARD}

// Wizard: CnAlignSizeWizard
// {$DEFINE CNWIZARDS_CNALIGNSIZEWIZARD}

// Wizard: CnMessageBoxWizard
// {$DEFINE CNWIZARDS_CNMESSAGEBOXWIZARD}

// Wizard: CnComponentSelector
// {$DEFINE CNWIZARDS_CNCOMPONENTSELECTOR}

// Wizard: CnTabOrderWizard
// {$DEFINE CNWIZARDS_CNTABORDERWIZARD}

// Wizard: CnDfm6To5Wizard
// {$DEFINE CNWIZARDS_CNDFM6TO5WIZARD}

// Wizard: CnBookmarkWizard
// {$DEFINE CNWIZARDS_CNBOOKMARKWIZARD}

// Wizard: CnSrcTemplate
{$DEFINE CNWIZARDS_CNSRCTEMPLATE}

// Wizard: CnEditorWizard
{$DEFINE CNWIZARDS_CNEDITORWIZARD}

// Wizard: CnMsdnWizard
// {$DEFINE CNWIZARDS_CNMSDNWIZARD}

// Wizard: CnPas2HtmlWizard
// {$DEFINE CNWIZARDS_CNPAS2HTMLWIZARD}

// Wizard: CnReplaceWizard
{$DEFINE CNWIZARDS_CNREPLACEWIZARD}

// Wizard: CnSourceDiffWizard
// {$DEFINE CNWIZARDS_CNSOURCEDIFFWIZARD}

// Wizard: CnStatWizard
// {$DEFINE CNWIZARDS_CNSTATWIZARD}

// Wizard: CnPrefixWizard
// {$DEFINE CNWIZARDS_CNPREFIXWIZARD}

// Wizard: CnSrcEditorEnhance
{$DEFINE CNWIZARDS_CNSRCEDITORENHANCE}

// Wizard: CnFormEnhanceWizard
// {$DEFINE CNWIZARDS_CNFORMENHANCEWIZARD}

// Wizard: CnPaletteEnhanceWizard
// {$DEFINE CNWIZARDS_CNPALETTEENHANCEWIZARD}

// Wizard: CnCorPropWizard
// {$DEFINE CNWIZARDS_CNCORPROPWIZARD}

// Wizard: CnProjectExtWizard
// {$DEFINE CNWIZARDS_CNPROJECTEXTWIZARD}

// Wizard: CnCommentCropperWizard
// {$DEFINE CNWIZARDS_CNCOMMENTCROPPERWIZARD}

// Wizard: CnCpuWinEnhanceWizard
// {$DEFINE CNWIZARDS_CNCPUWINENHANCEWIZARD}

// Wizard: CnObjInspectorEnhanceWizard
// {$DEFINE CNWIZARDS_CNOBJINSPECTORENHANCEWIZARD}

// Wizard: CnRepositoryMenuWizard
// {$DEFINE CNWIZARDS_CNREPOSITORYMENUWIZARD}

// Wizard: CnDUnitWizard
// {$DEFINE CNWIZARDS_CNDUNITWIZARD}

// Wizard: CnIniFilerWizard
// {$DEFINE CNWIZARDS_CNINIFILERWIZARD}

// Wizard: CnMemProfWizard
// {$DEFINE CNWIZARDS_CNMEMPROFWIZARD}

// Wizard: CnExplorerWizard
// {$DEFINE CNWIZARDS_CNEXPLORERWIZARD}

// Wizard: CnFilesSnapshotWizard
// {$DEFINE CNWIZARDS_CNFILESSNAPSHOTWIZARD}

// Wizard: CnWinTopRoller
// {$DEFINE CNWIZARDS_CNWINTOPROLLER}

// Wizard: CnInputHelper
// {$DEFINE CNWIZARDS_CNINPUTHELPER}

// Wizard: CnSourceHighlight
{$DEFINE CNWIZARDS_CNSOURCEHIGHLIGHT}

// Wizard: CnProcListWizard
// {$DEFINE CNWIZARDS_CNPROCLISTWIZARD}

// Wizard: CnVerEnhanceWizard
{$DEFINE CNWIZARDS_CNVERENHANCEWIZARD}

// Wizard: CnUsesCleaner
{$DEFINE CNWIZARDS_CNUSESCLEANER}

// Wizard: CnIdeEnhanceMenuWizard
// {$DEFINE CNWIZARDS_CNIDEENHANCEMENUWIZARD}

// Wizard: CnIdeBRWizard
// {$DEFINE CNWIZARDS_CNIDEBRWIZARD}

// Wizard: CnScriptWizard
// {$DEFINE CNWIZARDS_CNSCRIPTWIZARD}

// Wizard: CnFeedReaderWizard
// {$DEFINE CNWIZARDS_CNFEEDREADERWIZARD}

// Wizard: CnCodeFormatterWizard
// {$DEFINE CNWIZARDS_CNCODEFORMATTERWIZARD}

{$ENDIF}

{$I CnWizards_Def.inc}
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6750
Posts 3551
点点分 6750
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2017-11-28 12:40  Profile | Blog | P.M. 
I checked our dependency. {$DEFINE CNWIZARDS_CNSRCEDITORENHANCE} seems must exists with {$DEFINE CNWIZARDS_CNFORMENHANCEWIZARD} for some duplicated features. Please uncomment  both and compile again?
Top
 




All times are GMT++8, the time now is 2024-3-29 06:02

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.008262 second(s), 8 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP