Форум: "KOL";
Текущий архив: 2006.11.12;
Скачать: [xml.tar.bz2];
ВнизD2005 and D2006 and KOL Найти похожие ветки
← →
Thaddy (2006-01-07 14:22) [0]Both Delphi 2005 and Delphi 2006 work with KOL, but only if you define PAS_VERSION in project options. I did not test MCK.
Also you need to adapt koldef.inc a little:
{Delphi 2005}
{$IFDEF VER170}
{$DEFINE _D3orHigher}
{$DEFINE _D4orHigher}
{$DEFINE _D5orHigher}
{$DEFINE _D6orHigher}
{$DEFINE _D7}
{$DEFINE _D7orHigher}
{$WARN UNIT_DEPRECATED OFF}
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}
{$WARN UNSAFE_CODE OFF}
{$ENDIF}
{$IFDEF VER180}
{Delphi 2006}
{$DEFINE _D3orHigher}
{$DEFINE _D4orHigher}
{$DEFINE _D5orHigher}
{$DEFINE _D6orHigher}
{$DEFINE _D7}
{$DEFINE _D7orHigher}
{$WARN UNIT_DEPRECATED OFF}
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}
{$WARN UNSAFE_CODE OFF}
{$ENDIF}
Simplest Exes are 80K (-:
← →
azsd © (2006-01-20 15:48) [1]After added these codes into Koldef.inc,I have open MirrorPackageD7 in D2005 and save it with name MirrorPackageD9.
there a hint and an Error appear:
[Hint] mckCtrls.pas(263): H2365 Override method TKOLLabel.GetTaborder should match case of ancestor TKOLCustomControl.GetTabOrder
[Error] mckCtrls.pas(10909): E2250 There is no overloaded version of "SelectComponent" that can be called with these arguments
modify the line FItems[res] to TPersistent(FItems[res]) and mck controls get complied and installed into D2005 tool panel.
but when open MCK projects,The form can"t view in design mode.
D6 MCK Projects can build and runing successly in D2005.
Create an new project and drag TKOLProject,setted PrjDest,but when TKOLMainForm Drooped on Designer,New KOL dpr did"nt generated.
← →
Vladimir Kladov (2006-01-20 22:28) [2]but when open MCK projects,The form can"t view in design mode
What if to add symbol NOT_USE_KOLCTRLWRAPPER into MCK package and rebuild it?
← →
Thaddy (2006-01-24 11:09) [3]As it happens, with those defines, KOL WILL compile in ASM_VERSION mode in D2006.
The only caveats I have found are in code that accesses variants.
The solution is something like this, f.e. in KolComObj.pas:
<
{$IFDEF VER180} // Delphi 2006
CALL Variants.@varclear
{$ELSE}
CALL System.@VarClear
{$ENDIF}
And similar code. A simple KOL application is 74 Kb with ASM_VERSION, 80K with PAS_VERSION.
← →
Юрий Ж. (2006-01-24 16:15) [4]Have somebody tried to use MCK in a Delphi 2006?
Страницы: 1 вся ветка
Форум: "KOL";
Текущий архив: 2006.11.12;
Скачать: [xml.tar.bz2];
Память: 0.45 MB
Время: 0.043 c