Code Gem

Code Gem

Knowledge was arriving in dribs and drabs

Code Gem RSS Feed
 
 
 
 

Archive for February 4th, 2010

Turn off the Information Bar in IE

Start from the Internet Explorer in XP SP2, Microsoft added a new feature called Information Bar under the name of security. The Information Bar is used to block some actions that were considered “risky” for security, including

Active X Install Prompts
Non-user-initiated Download Prompts
Pop-up Windows
ActiveX Control Blocked Errors
Local Machine Zone Lockdown

For any [...]

HEX Speaks

While debugging applications, we have to face raw memory in many cases, and knowing some magic number can be a great help to find a clue of the problem.
For example:

0xBAADF00D means uninitialized allocated heap memory.
0xABCDBBBA, 0xABCDBBBB, 0xABCDAAAA, 0xDBCAAAAA … in page heap block structure

There are some more to find at

http://en.wikipedia.org/wiki/Hexspeak
http://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_debug_values

[...]

September 2010
M T W T F S S
« Feb «-»  
 12345
6789101112
13141516171819
20212223242526
27282930  

Blogroll