Главная страница
    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.035 c
2-1161705819
Лиля
2006-10-24 20:03
2006.11.12
помогите разобраться


4-1150840652
Ain
2006-06-21 01:57
2006.11.12
Работа с видеокартой


15-1161552124
RASkov
2006-10-23 01:22
2006.11.12
Посмотрите


2-1161885095
Alral
2006-10-26 21:51
2006.11.12
Array [ 0..225] of Char, String


2-1161755855
Любитель
2006-10-25 09:57
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
Английский Французский Немецкий Итальянский Португальский Русский Испанский