Hannu Laurikainen wrote:
When I define class inheritance as below
class MyService : public Vcl::Svcmgr::TService
If you fully qualify the base class like that, then there is no
ambiguity.
void __fastcall ServiceStart(TService *Sender, bool &Started);
void __fastcall ServiceStop(TService *Sender, bool &Stopped);
You need to fully qualify those as well:
void __fastcall ServiceStart(Vcl::Svcmgr::TService *Sender, bool
&Started);
void __fastcall ServiceStop(Vcl::Svcmgr::TService *Sender, bool
&Stopped);
How to solve this?
Either fully qualify the class name, or don't use Soap::Wsdlbind and
Vcl::Svcmgr in the same unit.
--
Remy Lebeau (TeamB)
Connect with Us