Type: Posts; User: OReubens
Search took 0.11 seconds.
note that waitable timers are NOT precise. you'll get "more or less" the interval you wanted, but it can be less and can be substantially more.
if you need things to be actually time coordinated,...
This is inherent of the Windows display system. It isn't at all optimized for live capture. This is because it isn't ever actually available as a buffer, instead it's the desktop composition that...
April 17th, 2014, 06:48 AM
redirection in that way isn't part of the normal application parameters (in fact the application doesn't even know about the redirection per se).
I'm not sure why this would have worked in W7 and...
April 16th, 2014, 06:49 AM
A bitfield is for most intents and purposes the same as the type it's a number of bits from, as such, initialisation, and aggregation happens exactly the same way as if they weren't bitfields.
April 15th, 2014, 06:36 AM
just conditionally pass the right ID to the CDialog constructor.
The 'IDD' enum is not necessary and the value itself isn't either.
The only reason it works like this is that's how the VS...
April 14th, 2014, 07:12 AM
Somewhere after XP devs at MS decided that a GUI process should, by default not have a console attached. Which is why GetStdHandle() returns NULL.
THis is not an error, writing to the NULL handle...
April 14th, 2014, 06:40 AM
Most likely issue: you care calling the widechar version of ShellExecute (ShellExecuteW) while passing it an ansi string.
Why ar eyou even bothering to do this in inline assembly, there is no...
April 12th, 2014, 05:59 AM
I unfirtunately don't have any ready made code I'm allowed to share. But yes, you can do this from C++
Get the IWebBrowser2 from the browser control, from that, get the IHtmlDocument2 interface. ...
April 11th, 2014, 06:38 AM
This is normal, the view source shows the Original source that was navigated to. It doesn't show the current content as it has been modified/augmented via script. If you want the current content,...
April 11th, 2014, 06:36 AM
innerHTML is the html that is INSIDE the tags.
outerhtml is the html including the tags (and including any attributes in the tag).
This doesn't work. Script is not technically part of the...
April 11th, 2014, 06:26 AM
April 10th, 2014, 06:39 AM
just navigate to a new html page.
April 10th, 2014, 06:38 AM
write your code normally, convert parameters from unicode to UTF with WideCharToMultiByte()
if you're writing for ANSI charset, then convert your ansi strings to unicode via CStringW, then do the...
April 10th, 2014, 06:35 AM
no... that's because accessing the document in the framewnd isn't "normal" behaviour. You should look into why you're trying to do that, and figure out the MFC way out so you don't have to access the...
April 9th, 2014, 12:49 PM
Jeff Prosise's book is still one of the best startup books.
It's getting "old" and it doesn't reflect everything new in...
April 9th, 2014, 06:43 AM
1) your mainframe shouldn't interact with the document. This is a fairly basic premise of MFC, if you are, then it's probably an indication you aren't properly embracing the document/view concept...
April 9th, 2014, 06:31 AM
any language that allows you to read webpages , and allows you to parse html.
reading webpages is easy, parsing html can be anything from easy to excrutiatingly hard depending on what you need and...
April 8th, 2014, 07:07 AM
If what you mean is... from a given projected image (result) and a given input model figure out the amount of rotation along each axis:
then no this isn't unambiguously solvable for all possible...
April 8th, 2014, 06:50 AM
He asked for ready made source, which indicates he's not looking into making something himself.
Exe "crypters/packers" are fairly easy to make for common case executables (dll's are harder,...
April 8th, 2014, 06:34 AM
He thought about it, decided not to be stupid but be rude instead ;-)
April 8th, 2014, 06:30 AM
Will be a lot easier to just download the Firefox source, and replace the password file code.
Or if you can't/don't want do that, create a password manager plugin for Firefox.
April 7th, 2014, 07:03 AM
There are cases where it's desired to do it this way. Particularly if you need locality of data. Splitting an array of structures up into multiple arrays of smaller elements/structures can sometimes...
April 7th, 2014, 06:47 AM
for realtime information there's WMI.
April 7th, 2014, 06:44 AM
overall CPU usage can be obtained with GetSystemTimes()
CPU load in percent = ((systemtime - idletime) *100) / systemtime
April 4th, 2014, 06:36 AM
if it's manual assisted, then it's the same kind of morphing that was done on faces a couple years back. (and featured among others in the videoclip black and white by michael jackson).
you draw a...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.