Lazarus
Programming => Packages and Libraries => KOL => Topic started by: irw10062 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
-
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
-
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
-
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
-
I confirm this bug. I reported it long time ago:
http://sourceforge.net/tracker/?func=detail&atid=925373&aid=3565830&group_id=188451
-
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 :
' 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
-
Sorry, OT: love your nick, JP ;)
-
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 :-)
-
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.
-
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.
-
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.
-
Have you tried the svn version (not the old release zip version)?
-
hello,
the last svn version from yury is the 359 and you can download it here (https://sourceforge.net/p/kol-ce/code/HEAD/tree/) (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