Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Midas/TClientDataSet    [ Add a report in this area ]  
Report #:  121259   Status: Closed
[iOS] Create a new class inherits from TClientDataSet in a new package, causes Link error
Project:  C++Builder Build #:  19.0.14356.6604
Version:    19.0 Submitted By:   sunny zhan
Report Type:  Crash / Data loss / Total failure Date Reported:  12/18/2013 10:42:49 PM
Severity:    Infrequently encountered problem Last Updated: 9/3/2014 5:09:32 AM
Platform:    Apple's mobile OS Internal Tracking #:   46277
Resolution: Fixed (Resolution Comments) Resolved in Build: : XE7
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Create a new class inherits from TClientDataSet in a new package, causes Link error
[ld Error]   Error: "__ZN4Data2Db8TDataSet19GetDetailLinkFieldsEPN6System8Generics11Collections8TList__1IPNS0_6TFieldEEES9_", referenced from: __ZTV22TDataSnapClientDataSet in .\iOSDevice\Debug\DataSnapClientDataSet.o;
Steps to Reproduce:
1. Create new Package PKCDS ,new units DataSnapClientDataSet, a new sub-class inherits from TClientDataSet
TDataSnapClientDataSet,save it in subdir pkcds. make it;
2. Create new mobile C++ project
3. In the main form ,use unit DataSnapClientDataSet.h in main.cpp, then put two TButton and one TClientDataSet.
4. In the Button1's OnClick event, creates a TClientDataSet instance
5. In another Button2's OnClick event, create an instance of TDataSnapClientDataSet
6. use pkcds.a,add project libray path ..\pkcds\iOSDevice\Debug\,save the project.
7. make it,link error
[ld Error] ld: file not found: d:\embarcadero\rad studio\12.0\lib\iOSDevice\Debug\PKCDS.a
8.After I change project Options [Libray path] ,add the path:
.\PKCDS\$(Platform)\$(Config);.\$(Platform)\$(Config)
9.make it link error
[ld Error]   Error: "__ZN4Data2Db8TDataSet19GetDetailLinkFieldsEPN6System8Generics11Collections8TList__1IPNS0_6TFieldEEES9_", referenced from: __ZTV22TDataSnapClientDataSet in PKCDS\iOSDevice\Debug\PKCDS.a(DataSnapClientDataSet.o);
Workarounds
None
Attachment
vcltest.zip
Comments

Tomohiro Takahashi at 12/18/2013 10:50:08 PM -
Is this issue same as QC#121225 ?

sunny zhan at 12/19/2013 8:57:30 PM -
yes , this issue is include in QC#121225 ?

Tomohiro Takahashi at 12/19/2013 9:12:03 PM -
ok, so may I delete QC#121225 ?

sunny zhan at 12/19/2013 9:55:58 PM -
NO

Tomohiro Takahashi at 12/19/2013 9:59:58 PM -
I tried to open attached project with C++Builder. But, .cbproj file is missing.
So, could you please re-attach entire sample project?

sunny zhan at 12/19/2013 10:05:02 PM -
It was re-attach entire sample project.These tests are very important to us; decide whether to upgrade our project. I hope you can help us solve these problems

Server Response from: ETNACODE01