obones 0 Posted October 9, 2020 Hello, I am writing an IDE package which `requires` list contains `vclsmp`. However, when I compile it, I get this warning: MyPackage.dpk(458): W1033 'Spin' unit is implicitly imported in the 'MyPackage' package And then the IDE shows a nice dialog telling me "You should add VclSmp". If I say yes, well, obviously, it does not do anything because VclSmp is already there. And, of course, if I try to install my package, I get an error message because TSpinEdit is already registerd by another package, namely the dclsmp270.bpl file This is all very strange to me and I don't quite get why it does not work. What did I miss? What should I look at? Share this post Link to post
Achim Kalwa 61 Posted October 9, 2020 VclSmp is the "Embarcadero Sample Components" package, containing TGauge, TSpinEdit, TSpinButton and others. Do you use any of this components in your package? Or contains you package a unit named "spin.pas?" Share this post Link to post
Uwe Raabe 2057 Posted October 9, 2020 TMS Components used to have their own copy of Spin.pas. Share this post Link to post
obones 0 Posted October 9, 2020 Ah of course ! That package comes from the dark old ages of the beginning of Delphi and had its own copy of Spin.pas that was not included in the project dpk/dproj I simply removed the file altogether, it now uses the one from Delphi and everything is now working smoothly. Thanks for pointing this out. Share this post Link to post