bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Srange problems with FixedBuffer


From: Prochnow, Christian
Subject: Re: Srange problems with FixedBuffer
Date: Thu, 13 Mar 2003 21:51:40 +0100
User-agent: KMail/1.5

Am Donnerstag, 13. März 2003 10:17 schrieb Pascal Francq:
> Hi,
> I have a strange problem when using a class that both derived from
> TCPSession and FixedBuffer.
>
>  GClient : public ost::TCPSession, public ost::FixedBuffer
> {
>       ....
> }
>
> GClient c;
> c.start();
> c.post(msg),
>
> When I debug this problem, in the post method (comming from Buffer), when
> it lmust run onPost (in FixedBuffer), the program halt with the message
> "pure virtual function called". In fact, onPost is pure in Buffer but
> overwritten in FixedBuffer.
> Anyone an idea?

Maybe the object has not been completely constructed when onPost gets called.
I did run into a similar problem when using SocketPort :(

Regards,

Christian Prochnow





reply via email to

[Prev in Thread] Current Thread [Next in Thread]