| View previous topic :: View next topic |
| Author |
Message |
John Guest
|
Posted: Mon Dec 12, 2005 1:12 pm Post subject: Missing DCU importing Delphi package into BCB5 |
|
|
I am trying to import a delphi package into C++Builder5,
all the modules but 1 seem to compile correctly.
I get this error message [Pascal Fatal Error] AutoListUtils.pas(43): File
not found: 'StrUtils.dcu'
Is there any way to get around this?
Thanks
John
|
|
| Back to top |
|
 |
John Guest
|
Posted: Mon Dec 12, 2005 1:52 pm Post subject: Re: Missing DCU importing Delphi package into BCB5 |
|
|
"Andreas Hausladen" <Andreas.Hausladen (AT) RemoveTHISgmx (DOT) de> wrote
| Quote: | John wrote:
I am trying to import a delphi package into C++Builder5,
all the modules but 1 seem to compile correctly.
I get this error message [Pascal Fatal Error] AutoListUtils.pas(43):
File not found: 'StrUtils.dcu'
StrUtils was added with Delphi/BCB 6 ?
|
I have BCB5, I cant find a ref to StrUtils anywhere on my PC
Is there a way to download the BCB6 version? would that work anyway ?
| Quote: | Remove it and try to replace the functions that fail.
|
It appears the only functions used are LeftStr and RightStr - so maybe this
is an option
Thanks
John
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Mon Dec 12, 2005 2:21 pm Post subject: Re: Missing DCU importing Delphi package into BCB5 |
|
|
John wrote:
| Quote: | StrUtils was added with Delphi/BCB 6 ?
I have BCB5, I cant find a ref to StrUtils anywhere on my PC
|
I repeat myself: Because it was added with Delphi/BCB 6.
| Quote: | Is there a way to download the BCB6 version? would that work anyway ?
|
This wouldn't be legal.
And LeftStr/RightStr are very easy to write with Copy()
--
Regards,
Andreas Hausladen
|
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Mon Dec 12, 2005 6:59 pm Post subject: Re: Missing DCU importing Delphi package into BCB5 |
|
|
At 14:12:30, 12.12.2005, John wrote:
| Quote: | I am trying to import a delphi package into C++Builder5,
all the modules but 1 seem to compile correctly.
I get this error message [Pascal Fatal Error] AutoListUtils.pas(43):
File not found: 'StrUtils.dcu'
Is there any way to get around this?
|
Write your own version of StrUtils.dcu, or remove the reference and write
the function used yourself, or change the routines that use the functions
in StrUtils to do without them.
--
Rudy.Velthuis {TeamB} http://velthuis.homepage.t-online.de/
"To sit alone with my conscience will be judgment enough for me."
- Charles William Stubbs
|
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Mon Dec 12, 2005 7:00 pm Post subject: Re: Missing DCU importing Delphi package into BCB5 |
|
|
At 14:52:02, 12.12.2005, John wrote:
| Quote: | I have BCB5, I cant find a ref to StrUtils anywhere on my PC
|
So write the functions required yourself, and remove the reference to
that unit.
--
Rudy.Velthuis {TeamB} http://velthuis.homepage.t-online.de/
"Quotation confesses inferiority." -- Ralph Waldo Emerson
|
|
| Back to top |
|
 |
|