Hello,

I create new class dynModuleUnicoreExecution extenden from:
dynModuleExecutionImpl

When I try to create an instance:

uc::dynModuleUnicoreExecution::Factory::Pointer factory =
uc::dynModuleUnicoreExecution::Factory::New();

I obtain this compilation error:

error C2440: 'inicializando' : no se puede realizar la conversión de
'dynModuleExecutionImpl::Factory::Pointer' a
'blSmartPointer<ObjectType>'

Where is the problem?

The first header file lines are:

-----------------------------------------------------------
class dynModuleUnicoreExecution : public dynModuleExecutionImpl
{
public:
        typedef dynModuleUnicoreExecution Self;
        typedef blSmartPointer<Self> Pointer;
        blNewMacro(Self);
        defineModuleFactory(  dynModuleUnicoreExecution );

        //!
        void Update( );

protected:
        //!
        dynModuleUnicoreExecution( );
.
.
.
-----------------------------------------------------------

Thanks in advance

Antoni Artigues


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers

Reply via email to