Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

can't register TupfStandardApplicationServices

 Post Reply Post Reply
Author
Döhm Christian View Drop Down
New Member
New Member
Avatar

Joined: 06 Jan 2011
Posts: 2
Post Options Post Options   Quote Döhm Christian Quote  Post ReplyReply Direct Link To This Post Topic: can't register TupfStandardApplicationServices
    Posted: 06 Jan 2011 at 6:30am
I'm in the process to migrate a project von D7 to DXE. 
The program compiled with DelphiXE fails at:
initialization
  RegisterClass(TupfStandardApplicationServices);
of the Unit upfManager.
Error Message is:
  Exception-Klasse EFilerError mit Meldung 'Klasse mit der Bezeichnung TInterfacedPersistent existiert bereits'. 
(sorry, that is german for "class alreaday exists/registered").
The Unit that registered "TInterfacedPersistent" before seems to be JvAni (from JEDI-JVCL). 
You can reproduce that problem by adding JvAni to your HostAppU Demo.
Any suggestions?
Txs PMM

Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8373
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 06 Jan 2011 at 8:19am
If you have multiple places in code files where the class TInterfacedPersistent is registered you'll need to exclude the register in either one of these code files.
Back to Top
Döhm Christian View Drop Down
New Member
New Member
Avatar

Joined: 06 Jan 2011
Posts: 2
Post Options Post Options   Quote Döhm Christian Quote  Post ReplyReply Direct Link To This Post Posted: 07 Jan 2011 at 4:48am
Sorry but I don't have codefiles where TInterfacedPersistent  is registered. As said, one is yours (upfManage.pas) and the other one is JvAni.pas of JVCL and both  do not register TInterfacedPersistent directly, but TInterfacedPersistent decendies (TupfStandardApplicationServices in your case), so exclude registation is no option.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down