Error creating TsiLanglinked:"...VCL and CLX in same ap

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Gorka
Posts: 3
Joined: Wed Sep 19, 2007 11:02 am

Error creating TsiLanglinked:"...VCL and CLX in same ap

Post by Gorka »

Hi!

I´m using TsiLangLinked class in many forms. It gives me this error creating the TsiLangLinked component : "Unable to obtain TsiLangLinked class reference! Please be sure you don´t use VCL and CLX units in same application". It just give me this error if i don´t make a build all. I mean, if i just launch the app by F9.

Thanks for any help

Gorka
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hi,

As error message states it looks like you've mixed VCL and CLX units in your application. Please be sure to don't mix VCL and CLX units and packages in the same application.
Best regards,
Igor Siticov.
Gorka
Posts: 3
Joined: Wed Sep 19, 2007 11:02 am

Post by Gorka »

Hi,

As far as i know, I have no clx units in the app. I´m under delphi 7. If i make a build and then i run the app from delphi it starts correctly. If i just make a little change and then i run it using F9 it gives the error in the unit siCom at TSIBFileManager.LoadFromStream(...) when it´s trying to create:

here siClass get nil
siClass := TComponentClass(GetClass(AComp.Classname));
// 6.0.1
if siClass = nil then
raise Exception.CreateFmt(SUnableToFindClass, [AComp.Classname]);

I´ll take a look again.

Thanks for the help isiticov!
Post Reply