Creating TfrxReport in different delphi packages
I am working on a big application which contains may bpl files.
I'm trying to use frxclass in a bpl which used already in another bpl.
Because of initialization code of frxclass i'm getting an error :
"A class named TfrxDMPLineView already exists" and i cannot run the project any more.
This is a serious problem and i cannot continue with my project any more.
I'm waiting for an answer as soon as possible
I'm trying to use frxclass in a bpl which used already in another bpl.
Because of initialization code of frxclass i'm getting an error :
"A class named TfrxDMPLineView already exists" and i cannot run the project any more.
This is a serious problem and i cannot continue with my project any more.
I'm waiting for an answer as soon as possible
Comments
The only way to solve this is by not having BPL files that include the same sources or initialization. What you are doing is wrong and you should fix it accordingly not to use both BPLs. I understand you may not like this answer but you cannot solve the problem by removing a symptom if the problems still remains.
I would suggest to create a bpl that contains both sources of the project. If you cannot then you have to find a way to only include one of the bpl's. It cannot be solved by changing code.