hi,sir,
I research NS since September
.
but,I have had a problem for a long time.
i.e.
how to invoke static class object.
e.g.
static class PacketHeaderManagerClass : public TclClass
{
public: PacketHeaderManagerClass() : TclClass("PacketHeaderManager") {} TclObject* create(int, const char*const*) { return (new PacketHeaderManager); } } class_packethdr_mgr; to every object,program will create a Tclclass through split proc
new{},but,
I don't know how invoke static class xxx in c++ code.
thanks in advance.
Best regards
Jim Yang |