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

Search:

Type: Posts; User: Prandr

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    18,129

    Re: Sending a string to a window

    it is another possibilty, but very risky in creating a memory leak
  2. Replies
    11
    Views
    18,129

    Re: Sending a string to a window

    this starts to get funny, because in your link:


    And was exactly my consideration too.
  3. Replies
    11
    Views
    18,129

    Re: Sending a string to a window

    I don't think there is another way. these strings are messages received with serial connection (Arduino).

    I used ::SendMessage wfor the same reason stated in the link from VictorN. Looks like you...
  4. Replies
    19
    Views
    17,995

    Re: Why is Microsoft pushing Windows 10 so hard?

    Who said that moving to Win10 is an upgrade in the first place?
  5. Replies
    11
    Views
    18,129

    Sending a string to a window

    I would like send a string to a window from a worker thread. i e to display it on it.
    I got no better idea than sending the pointer and using ::SendMessage, to make sure the pointer wouldn't rot...
  6. Replies
    7
    Views
    4,821

    Re: Linker error with pure virtual function.

    You all gussed wrong.:)
    What really happened I stepped on the same rake as in the thread http://forums.codeguru.com/showthread.php?553775-Linker-error-with-pure-virtual-function:rolleyes:
    this...
  7. Replies
    22
    Views
    33,085

    Re: CString class in non-MFC static library

    It turns out I celebrated too early, now I made my own expierence with it. The pitfall is that it works f you use it inside a data structure like
    struct MyStruct
    {
    CString cstr;
    }
    ...
  8. Replies
    7
    Views
    4,821

    Linker error with pure virtual function.

    I am making a static library. when I try to use it in an application
    I get following errors in MVS 2013:
    error LNK2001: unresolved external symbol "private: virtual void __thiscall...
  9. Replies
    5
    Views
    1,777

    Re: Launch std::thread with derived functor

    Thank you. Not sure if the solution with lamda suits my need. The idea is to provied unified interface of the base class for all derived classes
    also I decided that making base class abstract suits...
  10. Replies
    5
    Views
    1,777

    Re: Launch std::thread with derived functor

    after looking here and kind of 10 times reading through here
    this code produced desired result:


    #include <thread>
    #include <iostream>
    using std::thread;
    using std::cout;
    class Base
    {
  11. Replies
    5
    Views
    1,777

    Launch std::thread with derived functor

    I would like to launch a thread of with derived functor with base functor pointer to be able to override defalt behaviour

    first I tried most obvious thing:


    #include <thread>
    #include...
  12. Replies
    22
    Views
    33,085

    Re: CString class in non-MFC static library

    I've had the same problem, I searched for it and found this thread.
    Now I write in this old thread because I feel I found an excellent solution, I want to share in case someone else will google for...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured