Page 1 of 1

New Entity Types in Legacy DCAL

PostPosted: Fri Apr 11, 2008 10:40 am
by Jon C. Hubart
In another thread it was discussed that the subtext macro would need to be updated to recognize MText and PText entities. Looking thru the DCAL for C++ documentation, I believe the entity types for these are DCRTFTextObject and DCPlainTextObject. My first question is, am I correct in the entity type names? My second question is, if I use these entity types with legacy DCAL will they be recognized.

My thought is that it would be easier to edit the legacy macro rather than trying to rewrite the whole thing.

PostPosted: Sat Apr 12, 2008 7:37 pm
by Jsosnowski
Thanks for spotting these. I don't remember spseeing them in the Delphi declarations, but will go back in to look since I have been working on something that could take advantage of Ptext. As for legacy Dcal, I doubt it can work with these types since all type names are hardwired in the compiler and they did not exist back then.

PostPosted: Tue Apr 15, 2008 7:24 am
by Jon C. Hubart
Jsosnowski wrote:As for legacy Dcal, I doubt it can work with these types since all type names are hardwired in the compiler and they did not exist back then.

That was my fear. I am not well versed on the relationship between the DCAL compiler and DataCAD. I wasn't sure if the types were hardwired to the compiler or just passed to the program.