BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Missing LibIntf problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
Andrew Denton
Guest





PostPosted: Wed Nov 26, 2003 11:00 am    Post subject: Missing LibIntf problem Reply with quote



Hi All,

Thanks to Alain Quesnel's generous help I now have my property editor
working off my speed menu. My package now compiles and installs
perfectly. However, when I come to use my component in an application I
get the dreaded "Cannot find libintf.dcu" message whenever I try to
compile the application that uses it. I had to include ColnEdit in the
implementation section of my uses clause to get access to
ShowCollectionEditor.

I'm sure this is a common problem, but a Google on the newsgroups
didn't return anything that related to my problem.

Any ideas anyone?

TIA,

--
Cheers,

Andy
"I want to move to Theory....Everything works in Theory"
Back to top
Andrew Denton
Guest





PostPosted: Wed Nov 26, 2003 12:55 pm    Post subject: Re: Missing LibIntf problem Reply with quote



Alain Quesnel wrote:

Quote:
Did you segragate design time and run time code in two separate
packages (.dpk)?

Hi Alain,

No, I just have the one package that is both design-time and runtime.
Do I need to split them, then?


--
Cheers,

Andy
"I want to move to Theory....Everything works in Theory"

Back to top
Alain Quesnel
Guest





PostPosted: Wed Nov 26, 2003 1:48 pm    Post subject: Re: Missing LibIntf problem Reply with quote



Did you segragate design time and run time code in two separate packages
(.dpk)?

--


Alain Quesnel
[email]alainsansspam (AT) logiquel (DOT) com[/email]

http://www.logiquel.com


"Andrew Denton" <adenton.diespamdie (AT) q-range (DOT) com> wrote

Quote:
Hi All,

Thanks to Alain Quesnel's generous help I now have my property editor
working off my speed menu. My package now compiles and installs
perfectly. However, when I come to use my component in an application I
get the dreaded "Cannot find libintf.dcu" message whenever I try to
compile the application that uses it. I had to include ColnEdit in the
implementation section of my uses clause to get access to
ShowCollectionEditor.

I'm sure this is a common problem, but a Google on the newsgroups
didn't return anything that related to my problem.

Any ideas anyone?

TIA,

--
Cheers,

Andy
"I want to move to Theory....Everything works in Theory"



Back to top
Andrew Denton
Guest





PostPosted: Wed Nov 26, 2003 3:08 pm    Post subject: Re: Missing LibIntf problem Reply with quote

Alain Quesnel wrote:

Quote:
Yup. Follow the instructions here (the "Package Issues" section):

www.geocities.com/alain_cal/frames_main.htm

or

www.geocities.com/alain_cal/package_issues.htm

Thanks for that, Alain. I'm definitely getting somewhere. I now have my
two packages for Design and Run time as you recommended and the libintf
problem has gone away. The only problem I now get is when trying to
compile an application that uses the component I now get "File not
found : ToolWnds.Dcu". I do have dsnide50.dcp in the requires section
of my design-time package. I'm guessing that this unit is contained in
another package, but I don't know which one.

Thanks once again.

--
Cheers,

Andy
"I want to move to Theory....Everything works in Theory"

Back to top
Alain Quesnel
Guest





PostPosted: Wed Nov 26, 2003 3:25 pm    Post subject: Re: Missing LibIntf problem Reply with quote

Yup. Follow the instructions here (the "Package Issues" section):

www.geocities.com/alain_cal/frames_main.htm

or

www.geocities.com/alain_cal/package_issues.htm

--


Alain Quesnel
[email]alainsansspam (AT) logiquel (DOT) com[/email]

http://www.logiquel.com


"Andrew Denton" <adenton.diespamdie (AT) q-range (DOT) com> wrote

Quote:
Alain Quesnel wrote:

Did you segragate design time and run time code in two separate
packages (.dpk)?

Hi Alain,

No, I just have the one package that is both design-time and runtime.
Do I need to split them, then?


--
Cheers,

Andy
"I want to move to Theory....Everything works in Theory"



Back to top
Andrew Denton
Guest





PostPosted: Wed Nov 26, 2003 4:03 pm    Post subject: Re: Missing LibIntf problem Reply with quote

Alain Quesnel wrote:

Quote:
Did you remove the design-time units from your component unit? i.e.
DesignEditors, DsgnIntf , ColnEdit ?

Can you locate ToolWnds.pas or ToolWnds.dcu in your Delphi 5
directory? I can only find the ToolWin unit.

Unless you're using a 3rd party component that has a unit called
ToolWnds.

Hi Alain,

Yes, I did. I did some more digging and apparently it's a good idea to
have any property editors in a separate design time package, so I've
split them out too. Toolwnds is nowhere to be found on my hard drive. I
guess it's one of those Borland units they never released.

Anyway after much fiddling around and having to restart Delphi because
of crashes it now all seems to work fine. I have 3 packages, A
design-time one that registers the component and the property editor,
another design time one that contains my property editor code and
finally a runtime one which contains the main bulk of the controls
code. I can drop my component onto a form and compile the application
without any problems at all.

This has been my first foray into component development (bet you
couldn't tell, could you? Smile ) and I've learnt quite a lot.

Thanks once again (or merci encore une fois if my (rather rusty) French
is correct), you've been a big help.

--
Cheers,

Andy
"I want to move to Theory....Everything works in Theory"

Back to top
Alain Quesnel
Guest





PostPosted: Wed Nov 26, 2003 4:28 pm    Post subject: Re: Missing LibIntf problem Reply with quote

Did you remove the design-time units from your component unit? i.e.
DesignEditors, DsgnIntf , ColnEdit ?

Can you locate ToolWnds.pas or ToolWnds.dcu in your Delphi 5 directory? I
can only find the ToolWin unit.

Unless you're using a 3rd party component that has a unit called ToolWnds.

--


Alain Quesnel
[email]alainsansspam (AT) logiquel (DOT) com[/email]

http://www.logiquel.com


"Andrew Denton" <adenton.diespamdie (AT) q-range (DOT) com> wrote

Quote:
Alain Quesnel wrote:

Yup. Follow the instructions here (the "Package Issues" section):

www.geocities.com/alain_cal/frames_main.htm

or

www.geocities.com/alain_cal/package_issues.htm

Thanks for that, Alain. I'm definitely getting somewhere. I now have my
two packages for Design and Run time as you recommended and the libintf
problem has gone away. The only problem I now get is when trying to
compile an application that uses the component I now get "File not
found : ToolWnds.Dcu". I do have dsnide50.dcp in the requires section
of my design-time package. I'm guessing that this unit is contained in
another package, but I don't know which one.

Thanks once again.

--
Cheers,

Andy
"I want to move to Theory....Everything works in Theory"



Back to top
Alain Quesnel
Guest





PostPosted: Wed Nov 26, 2003 6:03 pm    Post subject: Re: Missing LibIntf problem Reply with quote

You're welcome.

--


Alain Quesnel
[email]alainsansspam (AT) logiquel (DOT) com[/email]

http://www.logiquel.com


"Andrew Denton" <adenton.diespamdie (AT) q-range (DOT) com> wrote

Quote:
Alain Quesnel wrote:

Did you remove the design-time units from your component unit? i.e.
DesignEditors, DsgnIntf , ColnEdit ?

Can you locate ToolWnds.pas or ToolWnds.dcu in your Delphi 5
directory? I can only find the ToolWin unit.

Unless you're using a 3rd party component that has a unit called
ToolWnds.

Hi Alain,

Yes, I did. I did some more digging and apparently it's a good idea to
have any property editors in a separate design time package, so I've
split them out too. Toolwnds is nowhere to be found on my hard drive. I
guess it's one of those Borland units they never released.

Anyway after much fiddling around and having to restart Delphi because
of crashes it now all seems to work fine. I have 3 packages, A
design-time one that registers the component and the property editor,
another design time one that contains my property editor code and
finally a runtime one which contains the main bulk of the controls
code. I can drop my component onto a form and compile the application
without any problems at all.

This has been my first foray into component development (bet you
couldn't tell, could you? Smile ) and I've learnt quite a lot.

Thanks once again (or merci encore une fois if my (rather rusty) French
is correct), you've been a big help.

--
Cheers,

Andy
"I want to move to Theory....Everything works in Theory"



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.