CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: let_me_in

Search: Search took 0.02 seconds.

  1. Replies
    16
    Views
    3,118

    Re: call derived method from base class

    ok thanks all for your help,

    and thanks superbonzo, it's just as you said
  2. Replies
    16
    Views
    3,118

    Re: call derived method from base class

    Hello all,

    here is a code that reproduces the error :

    #include <boost/thread.hpp>
    #include <boost/bind.hpp>
    #include <iostream>

    class Base1{
    public:
  3. Replies
    16
    Views
    3,118

    Re: call derived method from base class

    Hi Lindley,

    in my real code, I've those two problems fixed, I just ommited them to shorten the code a little bit.
  4. Replies
    16
    Views
    3,118

    Re: call derived method from base class

    hi superbonzo,

    the code from post 4 compiles fine, just include boost::thread and boost::bind,

    my question is : what is happening when I include der->print() in the main that makes it work...
  5. Replies
    16
    Views
    3,118

    Re: call derived method from base class

    Hello Lindley,

    how is that happening, is there a rule ?

    it doesn't make sense, since the class definition is the same in both situations, the difference is how I'm using the class (if I add a...
  6. Replies
    16
    Views
    3,118

    Re: call derived method from base class

    Hi monarch_dodra,

    actually it's working, even with the first version I posted, the problem comes from using boost::thread or boost::bind, if I remove it and replace it with a simple this->run,...
  7. Replies
    16
    Views
    3,118

    Re: call derived method from base class

    ok, now it's driving me crazy, if I do :


    class Base{
    public:
    void start(){
    new thread(boost::bind(&Base::go, this));
    }

    virtual void go(){
  8. Replies
    16
    Views
    3,118

    Re: call derived method from base class

    sorry I updated the post, it's actually Base::go()
  9. Replies
    16
    Views
    3,118

    call derived method from base class

    Hi All,

    I'm having troubles achieving something, I need to call an overriden method from the base class as follow :

    class Base{
    public:
    void start(){
    new...
  10. Replies
    0
    Views
    1,916

    applet through socks proxy

    Hi everyone,

    I configured the browser and java to use a socks proxy (configured with ssh/putty) to load an applet, but when trying to :

    network: Connecting...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured