Recent

Author Topic: KOL-CE question  (Read 21633 times)

mrmath

  • New Member
  • *
  • Posts: 13
KOL-CE question
« on: November 03, 2007, 12:40:43 am »
Maybe my first question should be where do I go with KOL-CE questions.....


Anyway, since I started here with KOL-CE, I'll ask it here.

I had some problems installing KOL-CE, so I ended up uninstalling Lazarus completely, and reinstalling it from scratch.  I installed Lazarus 0.9.23 with FPC 2.2.1, and then the arm-wince FPC 2.2.1 part, then KOL-CE 2.80 all together.  I followed the direction here on creating a project.  I added a button to the form after I opened the new lpi file, and double clicked on the button to add a Click event to it.

I got an error screen:

The component editor of class "TKOLObjectCompEditor"has created the error:
"Unable to find method. Plz fix the error shown in the message window."


The messagew window said:

unit1.pas (9,37) Error: unit not found: Classes

Lines 8, 9 and 10 of unit1.pas is:

uses Windows, Messages, KOL {place your units here->}
{$IFDEF LAZIDE_MCK}, Forms, mirror, Classes, Controls, mckCtrls, mckObjs, Graphics;
{$ELSE} ; {$ENDIF}

What am I doing wrong?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
RE: KOL-CE question
« Reply #1 on: November 03, 2007, 05:08:14 am »
It somehow can't find your units correctly. Check your Environment Options and in fpc bin directory check the fpc.cfg.

yuriy_sydorov

  • Full Member
  • ***
  • Posts: 158
RE: KOL-CE question
« Reply #2 on: November 03, 2007, 12:56:49 pm »
First try to compile project with empty form.

mrmath

  • New Member
  • *
  • Posts: 13
RE: KOL-CE question
« Reply #3 on: November 03, 2007, 05:17:30 pm »
I guess this is my problem.  I uninstall everything, and remove the c:\lazarus directory.  I then install Lazarus, the arm add-on.  I then open a project that I started before for the Smartphone, and it compiles no problem.  It's unit looks for Classes, and can find it.  I then unzip the KOL-CE files to my components directory, and then follow the directions to install them, and that's when I start getting errors.

It's not like this is an old install with lots of extra components or environmental tweaks.  It's pretty much an out of the box install of Lazarus with arm and KOL-CE, and it's not working.

yuriy_sydorov

  • Full Member
  • ***
  • Posts: 158
RE: KOL-CE question
« Reply #4 on: November 03, 2007, 10:37:45 pm »
Did you carefully followed all steps while creating new MCK project?

mrmath

  • New Member
  • *
  • Posts: 13
Re: RE: KOL-CE question
« Reply #5 on: November 04, 2007, 03:14:06 pm »
Quote from: "yury_sidorov"
Did you carefully followed all steps while creating new MCK project?


Yes, but I also noticed that the simple hello world app I wrote before (you suggested I look into KOL-CE on that post) compiles before I install KOL-CE, and then doesn't compile after installing KOL-CE.  It gives the same error about not being able to find Classes.

yuriy_sydorov

  • Full Member
  • ***
  • Posts: 158
RE: Re: RE: KOL-CE question
« Reply #6 on: November 05, 2007, 11:29:15 am »
Post message to KOL-CE forum on SourceForege and attach your unit source file.

mrmath

  • New Member
  • *
  • Posts: 13
RE: Re: RE: KOL-CE question
« Reply #7 on: November 05, 2007, 01:05:05 pm »
Я не говорю русский язык, so I posted it to the English forums a few days ago (http://p202.ezboard.com/fkol90387frm4.showMessage?topicID=114.topic).  Should I have posted it to the Russian forums?

PS: It says "I don't speak the Russian language."  I took it in college but remember only a few phrases.

yuriy_sydorov

  • Full Member
  • ***
  • Posts: 158
RE: Re: RE: KOL-CE question
« Reply #8 on: November 06, 2007, 12:40:20 am »

mrmath

  • New Member
  • *
  • Posts: 13
RE: Re: RE: KOL-CE question
« Reply #9 on: November 06, 2007, 02:15:12 am »

nhsoft

  • New member
  • *
  • Posts: 7
Re: KOL-CE question
« Reply #10 on: October 25, 2013, 10:18:51 am »
Lazarus 1.0.12 with windows 7, I have same question, error message detail
Quote
[Window Title]
Error in TKOLObjectCompEditor

[Content]
The component editor of class "TKOLObjectCompEditor" has created the error:
"Unable to create new method. Please fix the error shown in the message window, which is normally below the source editor."

[OK]

how to fix the error, thanks

nhsoft

  • New member
  • *
  • Posts: 7
Re: KOL-CE question
« Reply #11 on: October 25, 2013, 10:26:14 am »
there is another problem, error message

Quote
It is not possible to include a file that starts with an UTF-8 BOM in a module that uses a different code page

I found that KOL-CE form's inc file encode with UTF-8 with BOM,open the kol-mck's inc file with notepad++, convert file to UTF-8 without BOM, project can compile.

but when i add new component to kol-ce form, the form's inc file encoded UTF-8 with BOM again.

 

TinyPortal © 2005-2018