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

Search:

Type: Posts; User: VictorN

Page 1 of 80 1 2 3 4

Search: Search took 1.04 seconds; generated 20 minute(s) ago.

  1. Replies
    9
    Views
    277

    Re: wait .. no blocking

    Because std::threads did NOT exist when we had begonnen using multithreading in MS Windows applications.
    We had _beginthread(ex)/_endthread(ex) to use in a plain c++/Win32 applications and a little...
  2. XML Re: Xpath expression to extract value from a node/element

    1. Please, post every code/script.xml block to be properly formatted and indented. Use Code tags for this.
    Example: you write:

    some code ...
    indentation ...
    and we will see
    some code...
  3. Replies
    9
    Views
    277

    Re: wait .. no blocking

    Well, both "condition variables" that you meant (std::mutex) and MS Event Objects (Synchronization) are synchronization objects. So I do not see any difference.
    However, I never used std::threads,...
  4. Replies
    9
    Views
    277

    Re: wait .. no blocking

    What " condition variables" do you mean?
  5. Replies
    9
    Views
    277

    Re: wait .. no blocking

    Using Worker Threads
    Using User-Interface Threads
  6. Replies
    3
    Views
    226

    Re: TRACE MACRO problem in MFC

    Wouldn't you like to change this to something like

    {
    tri = TriBuf->m_listoftriangles.GetAt(pos);
    res = tri->depth;
    TRACE("\ngetnext distance %lf \n", res);
    }
  7. Replies
    3
    Views
    226

    Re: TRACE MACRO problem in MFC

    And what value did you expect to be printed with this TRACE?
  8. Replies
    14
    Views
    708

    Re: array of objects

    Just debug your code step-by-step, also stepping in the std::vector ctor!
  9. Replies
    14
    Views
    708

    Re: array of objects

    In your sample code there is no any array/vector of MyClass. :confused:
  10. Replies
    14
    Views
    708

    Re: array of objects

    What does (in this context) mean "works OK"?
    And when it would be assumed to be "not OK"?
  11. Re: openFileDialog - AccessViolationException was unhandled

    This code:

    using namespace System;
    using namespace System::Windows;
    using namespace Forms;

    [STAThread]
    int main(array<System::String ^> ^args)
    {
    String^ MyExcelFile = String::Empty;
  12. Replies
    2
    Views
    276

    Re: Creating a popup window above an another.

    Have a look at SetWindowPos function and its second parameter
  13. Re: openFileDialog - AccessViolationException was unhandled

    What is openFileDialog1?
    What is MyExcelFile?
    Which line causes the exception?
  14. Replies
    1
    Views
    295

    Re: How to not display a UI?

    There is a SW_HIDE value. See ShowWindow function:
  15. Replies
    1
    Views
    244

    Re: Reverse String in Python

    How about using one of the examples from https://stackoverflow.com/questions/931092/reverse-a-string-in-python ?
  16. Replies
    3
    Views
    536

    Re: need help with threads

    In the main()
  17. Replies
    5
    Views
    857

    Re: Printing in Windows

    Then try to use OpenPrinter function rather than the PrintDlg
  18. Replies
    5
    Views
    857

    Re: Printing in Windows

    Did you debug your code?
    What do all these functions:

    return?
  19. Replies
    5
    Views
    857

    Re: Printing in Windows

    Are you sure the points (10, 100) and (20, 200) are within the printing area?
  20. Replies
    4
    Views
    453

    Re: Compatible C++ libraries Questions.

    I doubt...
    Just because there is no so many people at CG that work with cross-platform programming.
  21. Replies
    1
    Views
    360

    Re: Question about send() function.

    Didn't you read the documentation of send function? :confused:
    There is a pretty clear description:
  22. Re: Is there a function intended to split strings by a delimiter in VC++?

    MFC: CStringT::Tokenize
    std: std::strtok
  23. Thread: Link color

    by VictorN
    Replies
    20
    Views
    1,097

    Re: Link color

    :)
  24. Thread: Link color

    by VictorN
    Replies
    20
    Views
    1,097

    Re: Link color

    Thank you Steve! :thumb::thumb::thumb::)
  25. Re: Where can I get User32.lib file?

    You may want to look at the existing code examples in Web:...
Results 1 to 25 of 1991
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured