Commenter acq responds (with expletive deleted), “the whole file is mapped into the process’ memory only for version info that’s certainly only a few kilobytes to be read?” Why not map only the parts that are needed? “I don’t understand the necessity to map the whole file except that it was easier to write that code without thinking too much.”
Ikea säljer elcyklar. Click through for two-image slide show.
Ikea selling electric bicycles
Forget furniture. Ikea is now launching, that’s right, an electric bicycle.
It goes under the name People-Friendly and costs around 6000 SEK ($900 USD).
But only in Älmhult,
We received the following security vulnerability report:
Windows is vulnerable to a denial of service attack that consumes
Use the following procedure to create a file
that is enchanted by magic pixie dust:
Rename the file to TEST.EXE.
According to television.
Two customers (so far) wanted to know how to increase the duration of taskbar balloon notifications on Windows Vista. (By the way, I gave the answer some time ago.)
They claimed that on Windows XP, they were using the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\TrayNotify,
Some time ago, a senior executive sent email to the All Employees distribution list at Microsoft announcing that a particular product was now available for dogfood. The message included a brief introduction to the product and instructions on how to install it.
Today’s Little Program isn’t even a program.
It’s just a function.
The problem statement is as follows:
find the index of the smallest value.
(If the smallest value appears more than once,
then any such index is acceptable.)
One solution is simply to do the operation manually,
A customer was puzzled by what appeared to be contradictory information
coming from the debugger.
We have Windows Error Reporting failures that tell us that we
are executing code in our DLL which has been unloaded.
Here’s a sample stack:
Child-SP RetAddr Call Site
00000037`7995e8b0 00007ffb`fe64b08e ntdll!RtlDispatchException+0x197
00000037`7995ef80 000007f6`e5d5390c ntdll!KiUserExceptionDispatch+0x2e
00000037`7995f5b8 00007ffb`fc977640 <Unloaded_contoso.dll>+0x3390c
00000037`7995f5c0 00007ffb`fc978296 RPCRT4!NDRSRundownContextHandle+0x18
00000037`7995f610 00007ffb`fc9780ed RPCRT4!DestroyContextHandlesForGuard+0xea
00000037`7995f650 00007ffb`fc9b5ff4 RPCRT4!ASSOCIATION_HANDLE::~ASSOCIATION_HANDLE+0x39
00000037`7995f680 00007ffb`fc9b5f7c RPCRT4!LRPC_SASSOCIATION::`scalar deleting destructor’+0x14
00000037`7995f6b0 00007ffb`fc978b25 RPCRT4!LRPC_SCALL_BROKEN_FLOW::FreeObject+0x14
00000037`7995f6e0 00007ffb`fc982e44 RPCRT4!LRPC_SASSOCIATION::MessageReceivedWithClosePending+0x6d
00000037`7995f730 00007ffb`fc9825be RPCRT4!LRPC_ADDRESS::ProcessIO+0x794
00000037`7995f870 00007ffb`fe5ead64 RPCRT4!LrpcIoComplete+0xae
00000037`7995f910 00007ffb`fe5e928a ntdll!TppAlpcpExecuteCallback+0x204
00000037`7995f980 00007ffb`fc350ce5 ntdll!TppWorkerThread+0x70a
00000037`7995fd00 00007ffb`fe60f009 KERNEL32!BaseThreadInitThunk+0xd
00000037`7995fd30 00000000`00000000 ntdll!RtlUserThreadStart+0x1d
But if we ask the debugger what modules are loaded,
CBC Radio’s Tom Allen investigates the origin of the opening four notes of the classic Star Trek theme. He traces it to the opening of Mahler’s First Symphony, then further back to Brahms’s Second Symphony and Beethoven’s Fourth Symphony.
A customer reported (all incomplete information and red herrings preserved):
We have an issue related to two radio buttons in a window.
The code programmatically checks the second button
by sending the BM_SETCHECK message.
We observe that if the user clicks somewhere else on the screen
(so that our application loses focus),