| View previous topic :: View next topic |
| Author |
Message |
Michael Corby Guest
|
Posted: Mon Apr 16, 2007 7:45 pm Post subject: Problem with DLL |
|
|
Hi
I have a project on a clients PC working ok for the last few years.
I have now written my first DLL incorporating some general routines and
built it
into the project. The project works fine on my PC, but when it is loaded on
the clients
PC and run, it is giving a message that vcl100.bpl (plus other *.bpl files)
is missing.
I have unchecked USE DYNAMIC RTL and I have checked DESIGN TIME
ONLY PACKAGE in the DLL Project Options.
I have also loaded the *.dll file to the clients PC.
Is there something I am missing in the Project Options ?
Any help appreciated.
Michael Corby |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Apr 16, 2007 8:36 pm Post subject: Re: Problem with DLL |
|
|
"Michael Corby" <mcorby (AT) sapo (DOT) pt> wrote in message
news:46238dd6 (AT) newsgroups (DOT) borland.com...
| Quote: | I have unchecked USE DYNAMIC RTL
|
You need to uncheck the "Build with runtime packages" option as well.
The .bpl fles are runtime packages.
| Quote: | I have checked DESIGN TIME ONLY PACKAGE in the DLL Project Options.
|
Why did you do that? You are not creating a design-time package to
begin with.
Gambit |
|
| Back to top |
|
 |
Michael Corby Guest
|
Posted: Mon Apr 16, 2007 9:51 pm Post subject: Re: Problem with DLL |
|
|
I have unchecked "Build with runtime packages" as instructed and corrected
the
"Design time only package" mistake.
When I build the DLL project now it is failing with the message :-
fatal error "Unable to open file EXTCTRLS.OBJ".
Michael Corby
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
news:46239915$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Michael Corby" <mcorby (AT) sapo (DOT) pt> wrote in message
news:46238dd6 (AT) newsgroups (DOT) borland.com...
I have unchecked USE DYNAMIC RTL
You need to uncheck the "Build with runtime packages" option as well.
The .bpl fles are runtime packages.
I have checked DESIGN TIME ONLY PACKAGE in the DLL Project Options.
Why did you do that? You are not creating a design-time package to
begin with.
Gambit
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Apr 16, 2007 11:42 pm Post subject: Re: Problem with DLL |
|
|
"Michael Corby" <mcorby (AT) sapo (DOT) pt> wrote in message
news:4623a98d (AT) newsgroups (DOT) borland.com...
| Quote: | When I build the DLL project now it is failing with the message :-
fatal error "Unable to open file EXTCTRLS.OBJ".
|
Then you likely did not enable the "Use VCL" option when you created
the project.
Gambit |
|
| Back to top |
|
 |
Michael Corby Guest
|
Posted: Tue Apr 17, 2007 2:59 pm Post subject: Re: Problem with DLL |
|
|
I have created a new DLL with the "USE VCL" enabled and I am getting the
same error.
I have noticed in Quality Central in the Linker section under report #:
27638
that the problem is described exactly.
Build DLL with "build with runtime packages" unchecked, you will get
[Linker fatal error] Unable to open file EXTCTRLS.OBJ.
It mentions that this is fixed. How do I obtain the fix ?
Michael Corby
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
news:4623c382$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Michael Corby" <mcorby (AT) sapo (DOT) pt> wrote in message
news:4623a98d (AT) newsgroups (DOT) borland.com...
When I build the DLL project now it is failing with the message :-
fatal error "Unable to open file EXTCTRLS.OBJ".
Then you likely did not enable the "Use VCL" option when you created
the project.
Gambit
|
|
|
| Back to top |
|
 |
Dennis Cote Guest
|
Posted: Tue Apr 17, 2007 7:38 pm Post subject: Re: Problem with DLL |
|
|
Michael Corby wrote:
| Quote: |
I have noticed in Quality Central in the Linker section under report #:
27638 ...
It mentions that this is fixed. How do I obtain the fix ?
|
Michael,
You need to download and install the updates and hotfixes to get to the
version that contains the fix. Go to
http://www.codegear.com/Downloads/RegisteredUsers/CBuilder/tabid/148/Default.aspx
and get and install Update 2 (which includes update 1) and then go to
the hotfix page and get and install the hotfix rollup and hofixes 11 and
12.
HTH
Dennis Cote |
|
| Back to top |
|
 |
Michael Corby Guest
|
Posted: Tue Apr 17, 2007 8:35 pm Post subject: Re: Problem with DLL |
|
|
Hi Dennis
Thanks for the info. I have now installed Update 2 and the hotfix rollup,
but not 11 and 12, neither of which refer to the problem in hand.
My DLL project is still giving me the same error.
The Quality Central report #27638 says the problem is resolved in
build 10.0.2288.42451. How do you relate this build to a hotfix number ?
Michael Corby
"Dennis Cote" <dennis.cote (AT) gmail (DOT) com> wrote in message
news:4624dbf7$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Michael Corby wrote:
I have noticed in Quality Central in the Linker section under report #:
27638 ...
It mentions that this is fixed. How do I obtain the fix ?
Michael,
You need to download and install the updates and hotfixes to get to the
version that contains the fix. Go to
http://www.codegear.com/Downloads/RegisteredUsers/CBuilder/tabid/148/Default.aspx
and get and install Update 2 (which includes update 1) and then go to the
hotfix page and get and install the hotfix rollup and hofixes 11 and 12.
HTH
Dennis Cote |
|
|
| Back to top |
|
 |
Dennis Cote Guest
|
Posted: Wed Apr 18, 2007 1:33 am Post subject: Re: Problem with DLL |
|
|
Michael Corby wrote:
| Quote: |
Thanks for the info. I have now installed Update 2 and the hotfix rollup,
but not 11 and 12, neither of which refer to the problem in hand.
My DLL project is still giving me the same error.
The Quality Central report #27638 says the problem is resolved in
build 10.0.2288.42451. How do you relate this build to a hotfix number ?
|
Michael,
The version is in the About box, use Help -> About Borland C++ Builder
in BDS. Your current version is in the first block of text. Mine is
version 10.0.2558.35231.
Version 10.0.2288.42451 was after update 2 if I remember correctly.
I don't know of any way to determine which Updates and/or hotfixes have
been applied based on the version number.
HTH
Dennis Cote |
|
| Back to top |
|
 |
Michael Corby Guest
|
Posted: Wed Apr 18, 2007 2:33 am Post subject: Re: Problem with DLL |
|
|
Hi Dennis
The problem is solved. I have found that DLL projects created before
the fixes were applied will not work, even after the fixes are applied.
I have now created a new DLL project and copied in the code.
The build worked ok. And the project worked on my clients PC,
without having to add any *.bpl files.
Also you are correct about Version 10.0.2288.42451.
qc.borland.com/wc/qcmain indicates that this number is Update 2.
Thanks for the help and thanks also to Remy for his usual much
appreciated help.
Michael Corby
"Dennis Cote" <dennis.cote (AT) gmail (DOT) com> wrote in message
news:46252f33$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Michael Corby wrote:
Thanks for the info. I have now installed Update 2 and the hotfix rollup,
but not 11 and 12, neither of which refer to the problem in hand.
My DLL project is still giving me the same error.
The Quality Central report #27638 says the problem is resolved in
build 10.0.2288.42451. How do you relate this build to a hotfix number ?
Michael,
The version is in the About box, use Help -> About Borland C++ Builder in
BDS. Your current version is in the first block of text. Mine is version
10.0.2558.35231.
Version 10.0.2288.42451 was after update 2 if I remember correctly.
I don't know of any way to determine which Updates and/or hotfixes have
been applied based on the version number.
HTH
Dennis Cote |
|
|
| Back to top |
|
 |
|