Type: Posts; User: OReubens
Search took 0.18 seconds.
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...
"start at the bottom and work your way up" (rather than doing it the other way around).
share id, amount, share id of parent, owner group id
1, 228, 0, 0
2, 9, 1, 1
3, 28, 1, 2...
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"...
I'm not entirely sure about Linux.
But eligible sections would be:
Typically in a copy on write scenario. Assuming it's located at it's prefered load address, which would usually be the...
March 29th, 2015, 05:30 PM
because you didn't clear it in the WM_ERASEBKGND :-)
that's what that message is there for.
March 27th, 2015, 09:58 AM
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...
March 27th, 2015, 09:43 AM
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...
March 27th, 2015, 09:29 AM
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...
March 27th, 2015, 09:10 AM
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...
March 27th, 2015, 09:07 AM
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.
March 27th, 2015, 08:58 AM
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...
March 26th, 2015, 01:45 PM
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...
March 26th, 2015, 10:24 AM
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...
March 26th, 2015, 10:02 AM
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...
March 25th, 2015, 08:39 AM
"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...
March 25th, 2015, 08:18 AM
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...
March 25th, 2015, 08:00 AM
you're missing the point. the rectangle is ABOVE the text.
your 'top left' of the rectangle is actually the bottom left.
March 25th, 2015, 07:50 AM
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...
March 24th, 2015, 08:13 AM
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...
March 24th, 2015, 08:09 AM
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
March 24th, 2015, 07:57 AM
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...
March 24th, 2015, 07:52 AM
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...
March 23rd, 2015, 11:30 AM
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...
March 23rd, 2015, 11:27 AM
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.
March 23rd, 2015, 11:14 AM
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...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.