Thread View: borland.public.cppbuilder.upgrade
4 messages
4 total messages
Started by dnettels
Thu, 16 Mar 2006 14:40
Problems with migrating a BCB6 component package to BCB2006
Author: dnettels
Date: Thu, 16 Mar 2006 14:40
Date: Thu, 16 Mar 2006 14:40
17 lines
1468 bytes
1468 bytes
Hello I try to get a selfmade component package, written with BCB6, running with BCB2006. Everything went fine. I could compile the package without errors or warnings. I can put my components on a form of a new project and I can change the published properies at design time. I can even compile the new project. However, when I run the project, I get the runtime error "Class 'MyComponent' not found" I included the location of the package into the library finding pahth of the project. But it did not help. Does anybody of you what is missing? Thanks for helping me. Daniel
Re: Problems with migrating a BCB6 component package to BCB2006
Author: dnettels
Date: Thu, 16 Mar 2006 17:11
Date: Thu, 16 Mar 2006 17:11
10 lines
1469 bytes
1469 bytes
I just realized that I get the same runtime error message ('Class not
found') when I want to use a component which I designed from scratch
using BCB2006.
First I created a new package, then I added the new component, which I
derived from TComponent using the component wizard.
Again I can put the new component onto a form. The project compiles and
links successfuly, but when I run it I get this error message. The
library search path includes the location of my package. :-(
Daniel
Re: Problems with migrating a BCB6 component package to BCB2006
Author: Nathan Anderson
Date: Thu, 16 Mar 2006 23:25
Date: Thu, 16 Mar 2006 23:25
17 lines
1685 bytes
1685 bytes
dnettels wrote:
> I just realized that I get the same runtime error message ('Class not
> found') when I want to use a component which I designed from scratch
> using BCB2006.
> First I created a new package, then I added the new component, which I
> derived from TComponent using the component wizard.
> Again I can put the new component onto a form. The project compiles and
> links successfuly, but when I run it I get this error message. The
> library search path includes the location of my package. :-(
>
> Daniel
If this is a runtime package (rather than a static linked in) you will need to make sure the .BPL file is on your
windows path somewhere. Otherwise it might not find it at runtime.
Nathan.
Re: Problems with migrating a BCB6 component package to BCB2006
Author: dnettels
Date: Fri, 17 Mar 2006 09:55
Date: Fri, 17 Mar 2006 09:55
15 lines
1381 bytes
1381 bytes
> > > If this is a runtime package (rather than a static linked in) you > will need to make sure the .BPL file is on your windows path somewhere. > Otherwise it might not find it at runtime. > > > Nathan. > Hi Nathan, thank you for helping me. Now it works :-) Daniel
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads