D2010: duplicate AdvStyleIF

Hello

I have TMSSmoothControlsPackPkgD2010 installed and when i try to install dbpland2010 it complains that 'AdvstyleIF' is already contained in the SmoothControls package.

What's the best way to to allow both packages to be installed in delphi?

Many Thanks

Phillip




Information about installing TMS Components with shared units can be found here:
http://tmssoftware.com/site/install.asp
http://www.tmssoftware.com/site/instcommon.asp

Kind Regards,
Nancy Lescouhier
TMS software team

Pieter Scheldeman2011-03-11 03:15:07

Hello Nancy

Thank you for the instructions, however I now have a problem with the TDBPlanner...

when I follow the instructions it works until I try to compile dbpland2010.dproj  - it produces 27 errors 


[DCC Error] Planner.pas(2793): E2003 Undeclared identifier: 'TOfficeTheme'
[DCC Error] Planner.pas(4934): E2003 Undeclared identifier: 'otUnknown'
[DCC Error] Planner.pas(8691): E2003 Undeclared identifier: 'ThemeNotifier'
[DCC Error] Planner.pas(8691): E2066 Missing operator or semicolon
[DCC Error] Planner.pas(8884): E2007 Constant or type identifier expected
[DCC Error] Planner.pas(8889): E2003 Undeclared identifier: 'GetOfficeTheme'
[DCC Warning] Planner.pas(8891): W1023 Comparing signed and unsigned types - widened both operands
[DCC Error] Planner.pas(8895): E2003 Undeclared identifier: 'ot2003Classic'
[DCC Error] Planner.pas(8896): E2003 Undeclared identifier: 'ot2003Blue'
[DCC Error] Planner.pas(8897): E2003 Undeclared identifier: 'ot2003Olive'
[DCC Error] Planner.pas(8897): E2030 Duplicate case label
[DCC Error] Planner.pas(8898): E2003 Undeclared identifier: 'ot2003Silver'
[DCC Error] Planner.pas(8898): E2030 Duplicate case label
[DCC Error] Planner.pas(8899): E2003 Undeclared identifier: 'ot2007Blue'
[DCC Error] Planner.pas(8900): E2003 Undeclared identifier: 'ot2007Silver'
[DCC Error] Planner.pas(8900): E2030 Duplicate case label
[DCC Error] Planner.pas(8901): E2003 Undeclared identifier: 'ot2007Black'
[DCC Error] Planner.pas(8901): E2030 Duplicate case label
[DCC Error] Planner.pas(8902): E2003 Undeclared identifier: 'ot2010Blue'
[DCC Error] Planner.pas(8903): E2003 Undeclared identifier: 'ot2010Silver'
[DCC Error] Planner.pas(8903): E2030 Duplicate case label
[DCC Error] Planner.pas(8904): E2003 Undeclared identifier: 'ot2010Black'
[DCC Error] Planner.pas(8904): E2030 Duplicate case label
[DCC Error] Planner.pas(10350): E2003 Undeclared identifier: 'WM_OFFICETHEMECHANGED'
[DCC Warning] Planner.pas(10350): W1023 Comparing signed and unsigned types - widened both operands
[DCC Error] Planner.pas(11029): E2003 Undeclared identifier: 'ThemeNotifier'
[DCC Error] Planner.pas(11029): E2066 Missing operator or semicolon
[DCC Error] Planner.pas(11031): E2066 Missing operator or semicolon



My DBPlanner registered version appears to be missing these 'office themes'

What can I do next?

Thanks again

Phillip.

Did you take the AdvStyleIF of the smooth controls pack or the one of the planner pack?
The AdvStyleIF of the planner pack will also support the smooth controls but not vice versa.

Kind Regards, 
Scheldeman Pieter

Thanks, now working!

Great support as usual.