Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Porting data aware component up from Delphi 2

Status
Not open for further replies.

colttaylor

Programmer
Aug 20, 2002
117
US
I've been assigned the task of porting a Delphi 2.0 application to Delphi 5.0. The application relies on a great number of data aware components, but fortunately I have the source code to almost all of them.
The first component I am trying to port upward has a private variable of type TFIELDDATALINK which it instanciates in its constructor. Delphi 5.0 does not recognize the TFIELDDATALINK type.

Does anyone know where I could find some documentation on the changes to the data-aware features between versions 2.0 and 3.0 of Delphi? There must have been tons of literature back then on how to handle this kind of a component upgrade, but I can't seem to find any now.

BTW... I already know that this is a ludicrous assignment and that I should just be re-implementing the application in the latest Delphi. Unfortunately, it is not my decision and the man who is signing the checks is a valued repeat customer. So I gotta do it his way!

Thanks in advance for any help.
Peace,
Colt

If it's stupid but it works, it isn't stupid
 
Don't bother to send answers. I found it myself.

Prior to version 3.0, the TFIELDDATALINK type came from DB.
After version 2.0, it came from DBCTRLS.

It hasn't been abandoned, it just moved.

I updated the uses line and everything works fine.
On to the next component!


If it's stupid but it works, it isn't stupid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top