Конференция "KOL" » Who is using D2 or D4? and WIN95/98? (instead of free FPC)
 
  • Thaddy © (27.08.14 10:46) [0]
    For the future of kol:

    If you are using Delphi 2 or 3 would it be a problem if support is removed?
    If you are using WIN95/98/ME would it be a problem if support is removed?

    The current version of KOL is reasonably stable and could be frozen for those platforms?

    That would enable me to fork KOL and remove a lot of conditionals that nobody seems to use.

    When I was merging the 64 bit code I noticed I couldn't put my own fixes in because of D2/3 and everything below WIN2000/XP.

    My suggestion is to freeze 3.22 and only do bugfixes on it and relaunch 3.23 as KOL 4.00 that only supports WIN2000 and newer, but is 32/64 bit compatible. I would also drop FPC versions older than 2.6.4 because that also removes a lot of unnecessary defines.

    This may be a problem for Embarcadero, because they use KOL to test conditional defines ;) because of its complexity ;) (true!)
  • Thaddy © (27.08.14 10:55) [1]
    btw I re-activated kol@thaddy.com but only mail with subject "future of kol" is accepted. So be sure to put that in the subject field. Everything else is blocked at imap server level.

    I also need help with MCK, because I don't use it.
    If you want to help, send email to my normal email address.
  • Thaddy © (27.08.14 10:56) [2]
    Also, I need help with Russian language. I have Russian speakers in my house, but the keyboard is broken.
  • RusSun © (27.08.14 16:55) [3]
    How do you help with the keyboard?
  • Thaddy © (27.08.14 18:05) [4]
    I had a Cyrrilic keyboard. That is broken.
  • RusSun © (28.08.14 19:11) [5]
    Если я правильно понимаю, то можно в Вашем случае использовать и обычную англоязычную клавиатуру доклейв наклейки русских букв к кнопкам)) Как вариант. Язык определяется в системе.)
  • QAZ (31.08.14 20:44) [6]
    в делфи 3 уже не рабочий уникод в кол, так что перед фризом версии надо починить :)
    а так, все что ниже 5й дельфи и ХР можно смело убирать
    про FPC, возможно лучше развивать чем отказываться
  • Netspirit (01.09.14 11:27) [7]
    I like this idea. It will also allow further KOL development (as it is too rarely updated). Need to pay more attention to the FPC and 64-bit.
  • Thaddy © (01.09.14 16:02) [8]
    @RusSun: I ordered a new one. (Chinese made, $8,-)
    @QAZ: Freepascal is the future. FPC64 (2.7.1) is much better for KOL than Delphi XE(X) and it is free.
    @Netspirit: If there is something really important, Vladimir updates KOL.

    The 64 bit version is not perfect, but it is really stable in 32 bit as well, much more than 3.22.
    There are some bugs but most controls just work.

    I only need a AllocateHwnd (well, basically: StdWndProc) function..... Anybody wants to do that for 64 bit? (objects.pas)
    This is important for new controls/ third party controls.
  • Thaddy © (01.09.14 16:05) [9]
    Regarding 3.22 64:
    Almost all of the work was done by Dmitri, I just merged.
  • Netspirit (02.09.14 15:22) [10]

    > I only need a AllocateHwnd

    For what?
    It is because of assembler?
    Read this: http://www.godevtool.com/GoasmHelp/64bits.htm (useful for 64-bit details)
    Try adapt it from Delphi XE4:

    function StdWndProc(Window: HWND; Message: UINT; WParam: WPARAM; LParam: WPARAM): LRESULT; stdcall;
    {$IF Defined(CPUX86)}
    { In    ECX = Address of method pointer }
    { Out   EAX = Result }
    asm
           XOR     EAX,EAX
           PUSH    EAX
           PUSH    LParam
           PUSH    WParam
           PUSH    Message
           MOV     EDX,ESP
           MOV     EAX,[ECX].Longint[4]
           CALL    [ECX].Pointer
           ADD     ESP,12
           POP     EAX
    end;
    {$ELSEIF Defined(CPUX64)}
    { In    R11 = Address of method pointer }
    { Out   RAX = Result }
    var
     Msg: TMessage;
    asm
           .PARAMS 2
           MOV     Msg.Msg,Message
           MOV     Msg.WParam,WParam
           MOV     Msg.LParam,LParam
           MOV     Msg.Result,0
           LEA     RDX,Msg
           MOV     RCX,[R11].TMethod.Data
           CALL    [R11].TMethod.Code
           MOV     RAX,Msg.Result
    end;

  • Thaddy © (04.09.14 01:47) [11]
    .params 2 was the problem for fpc.
    I now have declared a separate function with nostackframe and allocate the stack myself.
 
Конференция "KOL" » Who is using D2 or D4? and WIN95/98? (instead of free FPC)
Есть новые Нет новых   [118456   +51][b:0][p:0.001]