Category Archives: Windows

Git – configuration to use p4merge for diff

On Windows Advertisements

Posted in Programming, Windows | Leave a comment

How fiddler works

https://groups.google.com/forum/?fromgroups=#!topic/httpfiddler/Az0xW2MJMqU There’s tons of information scattered through the various Fiddler sites and this group. I think you’re asking a more specific question: How does Fiddler tell WinINET that it wants to be the proxy for a given WinINET connection? Answer: … Continue reading

Posted in Programming, Windows | Leave a comment

Windows 7 memory profiling another example

Posted in Programming, Windows | 1 Comment

Windows 7 memory profiling example

@echo off set _NT_SYMBOL_PATH=F:\src\Release\;srv*c:\WebSymbol*http://msdl.microsoft.com/downloads/symbols xperf -on base xperf -start heapsession -heap -pids %1 -stackwalk HeapAlloc+HeapRealloc -BufferSize 512 -MinBuffers 128 -MaxBuffers 512 echo. echo Performance Trace started. echo. echo When done with profile actions, pause xperf -stop heapsession -d heap.etl xperf … Continue reading

Posted in Programming, Windows | Leave a comment

Windows 7 CPU performance profiling example

@echo off set _NT_SYMBOL_PATH=f:\src\Debug\;srv*c:\WebSymbol*http://msdl.microsoft.com/downloads/symbols xperf -on Latency -stackwalk profile echo. echo Performance Trace started. echo. echo When done with profile actions, pause echo. xperf -d Trace.etl echo. start xperfview Trace.etl On windows 64 bits, the following registry should be added … Continue reading

Posted in Programming, Windows | Leave a comment

Understanding COM threading model(Apartment)

I have found very useful articles for understanding COM threading model about Apartment. If you want to understand COM Apartment model, the following articles will help you a lot. Understanding COM Apartments, Part I – CodeGuru Understanding COM Apartments, Part … Continue reading

Posted in Programming, Windows | Leave a comment