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.11 seconds.

  1. Replies
    6
    Views
    189

    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. :)
  2. Replies
    2
    Views
    143

    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".
  3. Replies
    12
    Views
    371

    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"?
  4. Replies
    2
    Views
    288

    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...
  5. Replies
    8
    Views
    304

    Re: Books by Harry H Chaudhary

    Just browsed the titles.
    SEO in action? :)
  6. Replies
    9
    Views
    486

    Re: remove duplicated from sorted vector

    Are you suggesting to re-implement std::unique?
  7. Replies
    9
    Views
    388

    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...
  8. 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.
  9. Replies
    2
    Views
    219

    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.
  10. Replies
    6
    Views
    532

    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...
  11. Replies
    27
    Views
    933

    Re: why is this code crashing?

    Sure, but I thought it was more of a BS than BTW :)
  12. Replies
    27
    Views
    933

    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?
  13. Replies
    30
    Views
    1,279

    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....
  14. Replies
    30
    Views
    1,279

    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....
  15. 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,...
  16. Re: ReadProcessMemory() crash my application because of buffer size

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

    Where does it crash? And - how? Out of memory? Access violation?
  18. Re: Solving "RangeChecks instrumentation code detected an out of range array access"

    Whose message is that?
    Google knows nothing about "RangeChecks instrumentation code detected an out of range array access"...
    Is it produced by one of your AI modules? :)
  19. Re: Directx11 CreateTextFormat acess violation reading location 0x000000

    So, you pass an uninitialized pointer to CreateTextFormat() function?
    Access violation is the BEST result in that case.
  20. Re: Directx11 CreateTextFormat acess violation reading location 0x000000

    What is TextFormat?

    hr = DWriteFactory->CreateTextFormat(L"Script",
    NULL,DWRITE_FONT_WEIGHT_REGULAR,DWRITE_FONT_STYLE_NORMAL,DWRITE_FONT_STRETCH_NORMAL,50.0f,L"en-us",&TextFormat);
  21. Replies
    5
    Views
    384

    Re: How much memory allocated?

    The memory pointed to by that pointer is likely managed by that library's memory manager (different from yours), so for you it is an opaque "handle".
    Why do you need that size? Curiosity? Are there...
  22. Re: Structures function - can someone complete this code

    I would go for an all-integer solution. For example, using lowest common denominator. Or any common denominator.
  23. Replies
    5
    Views
    50,548

    Re: Screenshot to base64 string

    Three, so far:
    1. Move this to the appropriate forum.
    2. Debug.
    3. Check the return values from API calls.
    :)
  24. Re: Data structure for text predictor using qwerty keyboard in c++

    Or OP might be thinking about http://en.wikipedia.org/wiki/Predictive_text... Or crystal ball?
  25. Replies
    7
    Views
    394

    Re: please help me correct this code

    What is ro and col here?

    cout << " " << setw(4) << mb[ro][col];
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