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

Moving applications from Delphi 3.0 to Delphi 2007

6 views
Skip to first unread message

Hlmhv

unread,
Feb 29, 2008, 6:29:21 AM2/29/08
to
Hello,

As I try to compile my old applications developped on Delphi 3.0, I
receive the following error message
"[DCC Erreur] UtestQuery.pas(7): F2051 L'unité ExtActns a été compilée
avec une version différente de StdActns.TEditAction"

or, translated in english:
"F2051 ExtActns unit has been compiled with a different version of
StdActns.TedidAction"

Can anyone help me?

Have a nice day,

Hlmhv

Alfred ten Hoeve

unread,
Feb 29, 2008, 8:57:49 AM2/29/08
to
"Hlmhv" <h.ma...@skynet.be> schreef in bericht
news:47c7ec9e$1...@newsgroups.borland.com...

There was no such thing as Actions in D3.
So the project was developed in a later version or you used a
thirdpartycomponent. If you have the source for that component, you can
recompile it in D2007.

Alfred.


Hlmhv

unread,
Feb 29, 2008, 10:24:08 AM2/29/08
to
Alfred ten Hoeve a écrit :
Thans for your rapid answer.
Of course the application was first compiled under D2, and secondly
under D3.
I used no thirdpartycomponent.
If you have another solution..

Henri

Remy Lebeau (TeamB)

unread,
Feb 29, 2008, 2:50:31 PM2/29/08
to

"Hlmhv" <h.ma...@skynet.be> wrote in message
news:47c7ec9e$1...@newsgroups.borland.com...

> As I try to compile my old applications developped on Delphi 3.0,
> I receive the following error message

> "[DCC Error] UtestQuery.pas(7): F2051 ExtActns unit has been
> compiled with a different version of StdActns.TEditAction"

Do you have D3 and D2007 intstalled on the same machine? If so, then you
probably don't have your paths set up correctly, such that D2007 is finding
the wrong DCU files to compile with.


Gambit


Hlmhv

unread,
Feb 29, 2008, 4:33:37 PM2/29/08
to
Remy Lebeau (TeamB) a écrit :
Of course I desinstalled Old version of Delphi. There was no longer old
DCU's before I installed Delphi 2007.
I sent my old sources to a friend, and he has no compiling problems...
I also compiled all WIN32/VCL/*.PAS with DCC32.EXE: no effect.

When the compiler stops, the EDI points on "DBGrids" or "ComCtrls" in
the USES line.

That's for me the first occurence of this kind of problem since I program...

Alfred ten Hoeve

unread,
Mar 1, 2008, 4:20:15 PM3/1/08
to
> Thans for your rapid answer.
> Of course the application was first compiled under D2, and secondly under
> D3.
> I used no thirdpartycomponent.
> If you have another solution..
>
> Henri

The error point to the unit StdActns. That unit was introduced in D5 or 6.
Is there any object in your sourcecode called TeditAction? If so, and say it
lives in MyUnit, then you can call all methods for that component with the
prefix MyUnit.
I don't see any other solution to your problem. Well, reinstall D3 and
compile your project in D3.

Success, Alfred.


Hlmhv

unread,
Mar 2, 2008, 3:57:25 AM3/2/08
to
Alfred ten Hoeve a écrit :
Thanks Alfred!
0 new messages