TCPView
Tip - TCPView is a Windows program that will show you detailed listings of all TCP and UDP endpoints on your system, including the local and remote addresses and state of...
View ArticlePsList
Tip - Show information about processes and threads.Details -pslist exp : Would show statistics for all the processes that start with "exp", which would include Explorer.-d : Show...
View ArticleSecurity Support Provider Interface (SSPI)
Tip :SSPI is a common interface between transport-level applications, such as Microsoft Remote Procedure Call (RPC), and security providers, such as Windows Distributed Security. SSPI allows a...
View ArticleRemote Procedure Call
Tip : Microsoft Remote Procedure Call (RPC) defines a powerful technology for creating distributed client/server programs. The RPC run-time stubs and libraries manage most of the processes relating to...
View ArticlePerformance Optimization using cache coherence
Tip -Take advantage of cache coherency for optimizing programsDetails - High level languages such as C, C++, C#, FORTRAN, and Java all do a great job of abstracting the hardware away from the language....
View ArticleHow to get the GPU memory size and usage in OpenGL?
Tip - Use GL_NVX_gpu_memory_info for NVIDIA graphics cards and GL_ATI_meminfo for AMD/ATI cards.Details - Few years ago, this kind of information wasn’t available to OpenGL developers but today, the...
View ArticleHow to get the GPU memory size and usage in CUDA?
Tip - Use cuMemGetInfo get the GPU memory size and usage in CUDA.Details - CUDA API cuMemGetInfo retrieves the size of the total available GPU memory and the size of the current available GPU memory....
View ArticleAdds user keys to the specified encrypted file
Tip - AddUsersToEncryptedFile()Details - The AddUsersToEncryptedFile function adds user keys to the specified encrypted file.DWORD WINAPI AddUsersToEncryptedFile( __in LPCWSTR lpFileName, __in...
View ArticleHow to determine whether the character set code page used by file I/O functions
Tip-AreFileApisANSI ()Details - This function has no parameters.BOOL WINAPI AreFileApisANSI(void);If the return value is non zero, the I/O functions is using ANSI code page.If the return value is zero,...
View ArticleHow to cancel the I/O operations for a specified file
Tip -CancelIo ()Details - This function cancels all pending input and output (I/O) operations that are issued by the calling thread for the specified file. The function does not cancel I/O operations...
View ArticleHow to mark the specific I/O operations as cancelled.
Tip - CancelSynchronousIo ()Details - This function marks pending synchronous I/O operations that are issued by the specified thread as canceled. BOOL WINAPI CancelSynchronousIo( __in HANDLE...
View ArticleDouble buffering in computer graphics
Title :- Double buffering in computer graphicsDetails :- In computer graphics, double buffering is a technique for drawing graphics that shows no (or less) flicker, tearing, and other artifacts.It is...
View ArticleMore on OpenMP
Title -More on OpenMPDetails - OpenMP is an implementation of multithreading, a method of parallelization whereby the master "thread" (a series of instructions executed consecutively) "forks" a...
View ArticleDebugging a blue screen
Title - Debugging a blue screenDetails - Have you ever wondered how to obtain extra information from the infamous Blue Screen of Death (BSOD) that will sometimes show up and give you a cryptic, Stop:...
View ArticleIntegrated Performance Primitives (IPP
Tip - About Integrated Performance Primitives (IPP) Details - Multicore Power for Multimedia and Data ProcessingIntel® Integrated Performance Primitives (Intel® IPP) is an extensive library of...
View ArticleWhy You Shouldn't Store auto_ptr Objects in STL Containers
Title - Why You Shouldn't Store auto_ptr Objects in STL ContainersDetails - copying or assigning one auto_ptr to another makes changes to the original in addition to the expected changes in the copy....
View ArticleAccess Computer Information with the System Information Tool
Title - Access Computer Information with the System Information ToolDetails - Windows XP has a built-in tool that offers a wealth of information about your computer. System Information gives users...
View ArticleDebugging Tips - @CLK
We can use ‘Watch’ window to get time information. @CLK can serve as a timer in your watch window. In many cases, we just want a rough idea of the time between two points, and @CLK makes it easy to...
View ArticleDiscovering Memory Leaks
Title -Discovering Memory LeaksDetails - If you are working on a serious project, you will propably use a sophisticated memory manager which will discover memory leaks (along with their exact position...
View ArticleCompiler Intrinsics
[Tip]Most functions are contained in libraries, but some functions are built in (that is, intrinsic) to the compiler. These are referred to as intrinsic functions or intrinsics.[Detail]If a function is...
View Article