Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Orpheus 3 conflicts with SystemTools 3?

1 view
Skip to first unread message

Robert Love [TPX]

unread,
Nov 30, 2002, 7:26:53 PM11/30/02
to
Sounds like you have outdated DCU files. Can you delete your Orpheus
and SysTools DCU's. Then check your Delphi Library path for any old
directories that should not be present.

>have a Delphi 3 application that uses Orpheus 3 components. The app works
>fine, compiles fine...life is grand. Until.... I dropped a SystemTools 3
>StShellTreeView component into one of the apps' forms. Now the project will
>not compile. I now get an error in the \systools\stutils.pas unit, in the
>UnixTimeToStDateTime function...
>
>function UnixTimeToStDateTime(UnixTime : Longint) : TStDateTimeRec;
>begin
> Result.D := Date1970 + (UnixTime div SecondsInDay);
> Result.T := UnixTime mod SecondsInDay;
>end;
>
>The error is "Undeclared identified: 'Date1970'".
>
>If I delete the StShellTreeView component, the project will still not
>compile. Same error occurs. I have to delete both the StShellTreeView
>component PLUS remove the "StShlCtl" reference in the USES section in order
>to get my project to compile.

-
Robert Love [TPX]
rober...@tpx.turbopower.com

Those of us with [TPX] after our names are not TurboPower employees
but a group of folks that have volunteered to assist TurboPower and
help fellow users who have questions about the operation of the products
--

April

unread,
Nov 30, 2002, 2:13:36 PM11/30/02
to
I have a Delphi 3 application that uses Orpheus 3 components. The app works

fine, compiles fine...life is grand. Until.... I dropped a SystemTools 3
StShellTreeView component into one of the apps' forms. Now the project will
not compile. I now get an error in the \systools\stutils.pas unit, in the
UnixTimeToStDateTime function...

function UnixTimeToStDateTime(UnixTime : Longint) : TStDateTimeRec;
begin
Result.D := Date1970 + (UnixTime div SecondsInDay);
Result.T := UnixTime mod SecondsInDay;
end;

The error is "Undeclared identified: 'Date1970'".

If I delete the StShellTreeView component, the project will still not
compile. Same error occurs. I have to delete both the StShellTreeView
component PLUS remove the "StShlCtl" reference in the USES section in order
to get my project to compile.

What's wrong?

Thanks.


April

unread,
Dec 1, 2002, 2:18:45 PM12/1/02
to

> Sounds like you have outdated DCU files. Can you delete your Orpheus
> and SysTools DCU's. Then check your Delphi Library path for any old
> directories that should not be present.

Would it perhaps be due to the fact that I have both Delphi 3 and Delphi 5
installed on my PC, and both use the components/source files from the same
folder where Systools resides?


April

unread,
Dec 2, 2002, 11:10:41 PM12/2/02
to
> Sounds like you have outdated DCU files. Can you delete your Orpheus
> and SysTools DCU's.

I have deleted all of the DCUs in both my Systools 3 and Orpheus 2 folders.
Then I recompiled my D3 application, or at least I attempted to... Still
same problem... error in the \systools\stutils.pas unit, in the
UnixTimeToStDateTime function...

function UnixTimeToStDateTime(UnixTime : Longint) : TStDateTimeRec;
begin
Result.D := Date1970 + (UnixTime div SecondsInDay);
Result.T := UnixTime mod SecondsInDay;
end;

By the way, I need to make a correction to my original posting. I am using
Orpheus 2.17, not Orpheus 3.


> Then check your Delphi Library path for any old
> directories that should not be present.

I don't understand what you mean. How would I know an "old directory" if I
saw one?

Phillip H. Blanton

unread,
Dec 2, 2002, 12:24:30 PM12/2/02
to
I don't think so. I have all of the Delphi and BCB compilers installed, and
use the components from the same directory on all of them (Except for the
BCB headers)

--
With Regards,

Phillip H. Blanton
TurboPower Software Company
phil...@turbopower.com


Peter van Lonkhuyzen

unread,
Dec 3, 2002, 1:50:53 AM12/3/02
to
Try swapping your search paths arround so that Orpheus and Systools are
reversed, I can't remember which one should be first but thast usually
solves it.

April

unread,
Dec 3, 2002, 8:11:51 PM12/3/02
to

> Try swapping your search paths arround so that Orpheus and Systools are
> reversed, I can't remember which one should be first but thast usually
> solves it.


Orpheus WAS in front of Systools. I placed Orpheus behind Systools, as you
suggested, and now I do NOT get the error.

Thanks. :-)


0 new messages