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

Search:

Type: Posts; User: OReubens

Page 1 of 80 1 2 3 4

Search: Search took 0.18 seconds.

  1. Re: [win32] - avoid flicker and do a correct redraw

    resolving flickering
    and transparency are totally unrelated issues.

    if you want to solve flickering
    - disable the WM_ERASEBKGND (check, you're doing this)
    - in WM_PAINT, draw both the...
  2. Replies
    4
    Views
    138

    Re: Handling and implementing Nested data

    Tip:

    "start at the bottom and work your way up" (rather than doing it the other way around).
    Share:
    share id, amount, share id of parent, owner group id

    1, 228, 0, 0
    2, 9, 1, 1
    3, 28, 1, 2...
  3. Replies
    1
    Views
    99

    Re: Help College Entrepreneur

    If they provide an API for that data (i.e. a webservice") then yes, should be fairly easy. If you can't find one, e-mail them asking if it's available.

    if they don't provide an API, then "maybe"...
  4. Re: If I run the same program twice under linux

    I'm not entirely sure about Linux.
    But eligible sections would be:

    - code
    Typically in a copy on write scenario. Assuming it's located at it's prefered load address, which would usually be the...
  5. Re: [win32] - avoid flicker and do a correct redraw

    because you didn't clear it in the WM_ERASEBKGND :-)
    that's what that message is there for.
  6. Replies
    10
    Views
    440

    Re: A question regarding stack size

    Look up your compiler manual for the answer on that.
    Some compilers make a stack frame for each function
    some compilers only do it for functions where it's needed (a function without parameters and...
  7. Replies
    2
    Views
    152

    Re: Find n words given m threads

    The totality has no sense in this specific setting.
    It is little more than a simple example that demonstrates a simple handoff principle.
    One thread does some work, and then hands off the work it...
  8. Replies
    19
    Views
    363

    Re: Variables declared in Windows loop

    stack is reserved (not allocated/commited)
    and changes from reserve to commit as needed.
    once commited is never "decommited" until the thread ends.
    there is a small performance cost for each...
  9. Replies
    19
    Views
    363

    Re: Variables declared in Windows loop

    if you wanna get into it.
    the stack memory is reserved (but not allocated) so it has a fixed (unallocated) location in memory.
    as you consume more stack, the system will change the pages from...
  10. Replies
    19
    Views
    363

    Re: Variables declared in Windows loop

    Are you sure ? I'm pretty sure I saw a
    "Designed by Uuk and Ook (c) Copyright 48134 BC Microrock corp."
    when I debugged part of it a while ago.
  11. Replies
    4
    Views
    178

    Re: Thread/Core affinity

    depending on your windows version.
    task manager. :p

    Open taskmanager, select the performance tab, right click the CPU graph and select "change graph to" > "logical processors"
    iirc this was...
  12. Replies
    19
    Views
    363

    Re: Variables declared in Windows loop

    You can easily do some benchmarking yourself, but results are going to be very dependant on type of CPU, cache organisation and the likes. The easy way to make the stack use more than 128 bytes...
    ...
  13. Replies
    19
    Views
    363

    Re: Variables declared in Windows loop

    And saying that shows a lack of how a CPU executes a C/C++ function and accesses variables on stack :-)

    At least for The intel x86 instruction set, accessing stack variables can be done more...
  14. Thread: CDC::PlgBlt()

    by OReubens
    Replies
    4
    Views
    1,487

    Re: CDC::PlgBlt()

    PlgBlt was largely an experiment and precursor to features that would end up in GDI+

    This one in particular largely backfired due to a large amount of videocard and printer manufacturers being...
  15. Re: The core of the core of the big data solutions -- Map

    "big data" does not compute with "hash map". (hash functions... maybe, but doubtably with map keys)

    you also make weird leaps with modern warfare inferring that target acquisition has anything to...
  16. Replies
    19
    Views
    363

    Re: Variables declared in Windows loop

    Yes, (see below)

    Globals are always a bad idea if they're avoidable (which they are in this case). Sometimes, they're unavoidable in that case it's common in C++ to wrap these as static members of...
  17. Replies
    7
    Views
    209

    Re: InvalidateRect

    you're missing the point. the rectangle is ABOVE the text.

    your 'top left' of the rectangle is actually the bottom left.
  18. Re: unsigned char* to string& being passed into function

    if the above crashes.
    then the error is in the "..." bit that you didn't post here.


    either you freed msg already
    or changed msg to point to something else that is no longer valid memory of...
  19. Replies
    19
    Views
    363

    Re: Variables declared in Windows loop

    yes.



    yes
    declaring isn't necessarily a problem.
    declaring could be a problem if the total amount local stack space exceeds 128 bytes, at that point less efficient code will be generated to...
  20. Replies
    7
    Views
    209

    Re: InvalidateRect

    you're painting the text at 100 (top left) with Y coordinates going higher for the bottom of the text
    you're invalidating the rect ABOVE pixelrow 100
  21. Replies
    4
    Views
    200

    Re: copy and unlink

    there is a very distinct difference.

    Moving a file typically means that you will also move the access rights associated with the file into it's new location.
    This could be what you want, but it...
  22. Replies
    10
    Views
    355

    Re: UTF-8 Conversion

    if you're talking about the arguments/parameters to pass to the other exe.

    Are you sure the other application is compiled as a unicode app ?
    If yes, then you can call createprocessW and pass...
  23. Replies
    21
    Views
    735

    Re: WinAPI Timers vs Sleep() accuracy

    that is the "normal" case yes. :-)
    Just don't assume it'll be that way on all flavours of windows on all types of hardware with all sorts of other applications running...
  24. Re: [RESOLVED] win32: how detect if the Joystick is connected to pc?

    it is normal that memory will change when you use certain API functions, this doesn't mean a leak.

    wanna make sure:
    put that function into a loop and keep calling it millions of times.
    if memory...
  25. Re: Datatype Trouble In My Password Guessing Program

    or if you only care about solutions that will find an answer within your lifetime...

    increment an unsigned int (32bit so 4bil checks (up to length 5 and) or an unsigned 64bit int (up to 16 bil...
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