* * *

Author Topic: is kolce support lazarus 1.1  (Read 6956 times)

irw10062

  • New member
  • *
  • Posts: 31
is kolce support lazarus 1.1
« on: October 02, 2012, 08:42:37 am »
anyone know what caused this error, i unable add event but project success built, so im sure no error.

"Unable to create new method. Pleas fix the error shown in the message window,
which is normally below the source editor"

i'm using
- kolce 2.80.3
- fpc 2.6.1
- lazarus 1.1
- winxpsp3

Dibo

  • Hero Member
  • *****
  • Posts: 1044
Re: is kolce support lazarus 1.1
« Reply #1 on: October 02, 2012, 12:10:00 pm »
Did you successfully install KOL-CE without modifying source? Because I created patch which fix installation on lazarus 1.1:
http://sourceforge.net/tracker/?func=detail&atid=925375&aid=3565831&group_id=188451
But couldn't fix bug mentioned by you. I reported it here:
http://sourceforge.net/tracker/?func=detail&atid=925373&aid=3565830&group_id=188451

I don't know who is the maintainer of this port, but seems forsaken

irw10062

  • New member
  • *
  • Posts: 31
Re: is kolce support lazarus 1.1
« Reply #2 on: October 02, 2012, 12:38:43 pm »
i am install it using modify with your patch
but not yet "DesignTime to RunAndDesignTime"
i will tes with "DesignTime to RunAndDesignTime",
i will report it after reinstall

irw10062

  • New member
  • *
  • Posts: 31
Re: is kolce support lazarus 1.1
« Reply #3 on: October 02, 2012, 02:34:04 pm »
hi dibo,
i set it to both run&designtime but still not work

i put small simple project here maybe you could tes it, include my kol-ce

http://irwanto.net/free/SmartMobile_KOLCE.7z

thanks reply

Dibo

  • Hero Member
  • *****
  • Posts: 1044
Re: is kolce support lazarus 1.1
« Reply #4 on: October 02, 2012, 02:50:46 pm »

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 651
Re: is kolce support lazarus 1.1
« Reply #5 on: March 02, 2013, 01:15:08 pm »
hello,
may be i have a solution to the bug Can\'t create events - ID: 3565830
debugging Lazarus IDE i have seen the difference between version 0.9.28 ( events OK)
and 1.0.6
 in 0.9.28 : the eventcodetool of Lazarus IDE  (components/codetools) see the TFORM1
as a class and  in 1.0.6 as an object.
when it is an object the codetool fails to retrieve the methods.
so the wrong line in main unit which is something like :
  TForm1 = {$IFDEF KOLCLASSES}class{$ELSE}object{$ENDIF}({$IFDEF
LAZIDE_MCK}TForm{$ELSE}TObj{$ENDIF})   
i don\'t Know in which case KOLCLASSES is used because in KOL-CE it is never
defined.
Then  the trick is to put TFORM1 as a class while editing  and Object while compiling.
with the {$IFDEF LAZIDE_MCK} you are in editing mode.
Replace the line 12440 of Mirror.pas with :
Code: [Select]
   '  T' + FormName + ' = {$IFDEF LAZIDE_MCK}class (TForm){$ELSE}object (TObj){$ENDIF}';
recompile mirror and the lazarus IDE.

with this it is OK for me  with Lazarus 1.0.6
i can use the double click with events editing   

tell me if it is also ok for you.

Sorry for my poor english but it isn't my natural language  :-[

friendly J.P   ;D

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: is kolce support lazarus 1.1
« Reply #6 on: March 02, 2013, 01:21:18 pm »
Sorry, OT: love your nick, JP ;)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5815
Re: is kolce support lazarus 1.1
« Reply #7 on: March 02, 2013, 02:23:28 pm »
Sorry, OT: love your nick, JP ;)

It's interesting indeed. Now that I think of it, I've seen prehistoric cattle, horses, sloths, tigers, wolfs and whatnot mentioned in "Jurassic" National Geographic documentaries, but never pigs or their ancestors :-)

eldonfsr

  • Full Member
  • ***
  • Posts: 116
Re: is kolce support lazarus 1.1
« Reply #8 on: February 08, 2015, 06:33:10 am »
Compiling i got this error i dont any idea what is that
C:\lazarus\componentes\kol-ce-code-305-trunk\mck\mckToolbarEditor.pas(803,59) Error: Identifier not found "GetLookupRootForComponent"

some help pls.

yury_sidorov

  • Full Member
  • ***
  • Posts: 142
Re: is kolce support lazarus 1.1
« Reply #9 on: January 20, 2017, 06:48:19 pm »
Good news to all KOL fans. I've fixed KOL-CE to work with Lazarus 1.6.
Get the latest trunk sources at SF:
https://sourceforge.net/projects/kol-ce/

You can develop win32 apps using KOL-CE.

tr_escape

  • Sr. Member
  • ****
  • Posts: 280
  • sector name toys
    • Github:
Re: is kolce support lazarus 1.1
« Reply #10 on: May 22, 2017, 04:21:45 pm »
Hello ,

I am trying to compile with 1.6 lazarus and fpc 3.0.0 but I couldn't success anyway.

There is a asm message :

  asm
    jmp @@e_signature
    DB '#$signature$#', 0
    DB 'SaveIcon', 0
  @@e_signature:
  end;

Message is : "mckObjs.pas(979,5) Error: Unrecognized opcode jmp"

Also I tried to change other some messages like PChar to PWideChar.

I think this asm working as callback function (or error back function) is it nessary?

How can I pass this problem?

Best Regards


Good news to all KOL fans. I've fixed KOL-CE to work with Lazarus 1.6.
Get the latest trunk sources at SF:
https://sourceforge.net/projects/kol-ce/

You can develop win32 apps using KOL-CE.


yury_sidorov

  • Full Member
  • ***
  • Posts: 142
Re: is kolce support lazarus 1.1
« Reply #11 on: May 23, 2017, 12:26:21 am »
Have you tried the svn version (not the old release zip version)?

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 651
Re: is kolce support lazarus 1.1
« Reply #12 on: May 23, 2017, 04:02:16 am »
hello,
the last svn version from yury is the 359 and you can download it here (download snapshot).
in Attachments a simple Kol Application project with a TKolButton and a TKolMemo. Size of the Exec : 48 kb
Lazarus 1.6.0 32 bits windows 7.

Friendly, J.P

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus