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

Search:

Type: Posts; User: VladimirF

Page 1 of 80 1 2 3 4

Search: Search took 0.10 seconds.

  1. Re: WM_KEYDOWN Not Working with Multiple Keys

    Really? That doesn't sound right. In fact, I did the suggested test (pressing E, C and U keys in the Notepad) and got all the characters OK, as expected.
    The article explains how the keyboard "might...
  2. Replies
    8
    Views
    395

    Re: add to listbox thread

    I would agree with you, 100%. Kinda… If we were comparing these two scenarios:

    char* buffer = new char[some_length];
    sprint_s(…);
    and

    CString str;
    Str.Format(…);

    Mainly for two reasons:...
  3. Replies
    8
    Views
    395

    Re: add to listbox thread

    Your "magic" with HWND was already commented on.

    You start with char* in your Dump(), and you need LPCTSTR for m_listbox.AddString(); wrapping it into CString just to attach to a message is...
  4. FeinSoftware released FeinWindows ™ version 2.0

    FeinSoftware presents FeinWindows ™ version 2.0 - replacement windows manager for Microsoft Visual Studio 2012 and 2013.

    Please visit http://www.FeinSoftware.com/FeinWindows for more details.
  5. Re: MFC Proper usage of sending message to dialog to activate

    That function would have to be called from the UI thread only - right?
  6. FeinSoftware re-opened its forum and Facebook page

    I invite your question, comments, suggestions, requests for other tools for Visual Studio, etc.

    Please visit my forum at www.feinsoftware.com/FeinForum and my page at www.facebook.com/feinsoftware
  7. Re: Creating a good computer AI for a tic tac toe game.

    It looks like a lot of effort (and typing) went into text processing when there is an easier way.
    Look at your numeric keypad. Does it look like a tic-tac-toe board? Here are your “commands”:
    7 8 9...
  8. FeinSoftware released FeinDateTime ™ ver. 2.0

    FeinSoftware presents FeinDateTime ™ version 2.0 - development tool for Microsoft Visual Studio (Visual C++ Debugger).

    FeinDateTime ™ is an expression evaluator for COleDateTime, COleDateTimeSpan,...
  9. Replies
    6
    Views
    410

    Re: Print text letter by letter

    I would add a sound of a type-writer and randomize the pause in a range of 100..400 ms. :)
  10. Replies
    2
    Views
    304

    Re: ListView_SetItemText

    Well, sub-item number 0 is the item itself.
    So to set the first sub-item's label - you pass 1; that's what they mean by "1-based".
  11. Replies
    12
    Views
    699

    Re: index position in array Issue

    Who is looping???
    Your code from post #1 searches ONCE for each value in array2, always from the beginning of array1.
    BTW, which one of them is "a" and which "Arr"?
  12. Replies
    2
    Views
    533

    Re: Help in 2D array

    May I offer few suggestions before you go any further? It will make the process easier.
    1. After you defined this:

    const int SIZE = 20;
    I would expect NOT to see any 20s in the code. But there...
  13. Replies
    8
    Views
    470

    Re: Books by Harry H Chaudhary

    Just browsed the titles.
    SEO in action? :)
  14. Replies
    9
    Views
    717

    Re: remove duplicated from sorted vector

    Are you suggesting to re-implement std::unique?
  15. Replies
    9
    Views
    482

    Re: DLL initilization problem

    Let me rephrase what Igor wrote earlier.
    Look at your code:

    CNewDLLApp::CNewDLLApp()
    {
    Caller c;
    }
    Your variable 'c' is constructed and then immediately destructed when it goes out of...
  16. Re: how get the keyboard messages, when the window loses the focus?

    One general suggestion: NEVER use MessageBox() for debugging purposes, especially for key up and down messages.
    Instead, use OutputDebugString() and see the results in your debugger's Output window.
  17. Replies
    2
    Views
    266

    Re: quick answer pls

    If I understood your question, you should either clear yout tres in the loop, or just move its declaration into the do-while loop.
  18. Replies
    6
    Views
    647

    Re: Reduce the Query Execution Time

    I would imagine that all the time will be spent in recset.Open(), and navigating the recordset is instantaneous.
    If you observe the delay in navigation, your database is likely being updated at the...
  19. Replies
    27
    Views
    1,140

    Re: why is this code crashing?

    Sure, but I thought it was more of a BS than BTW :)
  20. Replies
    27
    Views
    1,140

    Re: why is this code crashing?

    Where can one get such a job? What does it pay? How do you get the data - in the mail? How to you provide the results?
  21. Replies
    30
    Views
    1,655

    Re: pros/cons on File I/O coding

    I understand that. Just pointing to while OP was about performance of the file reading, 85% of the test is spent in the std::string...
    How about we will simply count line breaks?



    Oh, I see....
  22. Replies
    30
    Views
    1,655

    Re: pros/cons on File I/O coding

    Could you please explain this technique?
    It appears to be an attempt to optimize std::string construction from a char* and pushing it into the vector - right?
    My test doesn't show any improvements....
  23. Re: Where does my Application need redesigning and Speeding Up?

    Third-party profilers might cost you more than a Studio upgrade.
    There is no substitute to a profiler.

    Given your limitations, I see two options:
    1. Manual profiling. In your outermost function,...
  24. Re: ReadProcessMemory() crash my application because of buffer size

    No, it reads exactly as many bytes as you ask it to (in fourth parameter).
  25. Re: ReadProcessMemory() crash my application because of buffer size

    Where does it crash? And - how? Out of memory? Access violation?
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center