Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "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
15-1147981014
Eraser
2006-05-18 23:36
2006.11.12
Remote Office Manager - бета тестирование


15-1161657276
Slider007
2006-10-24 06:34
2006.11.12
С днем рождения ! 24 октября


15-1161415275
Гарри Поттер
2006-10-21 11:21
2006.11.12
Анимация "пожалуйста ждите"


8-1144338190
QuickFinder
2006-04-06 19:43
2006.11.12
TShockwaveFlash и его свойство Align


1-1159539430
Art_infinity
2006-09-29 18:17
2006.11.12
организация доступа к портам...





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский