Quantcast
Channel: Technical Tips
Browsing latest articles
Browse All 25 View Live

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 Article



PsList

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 Article

Security 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 Article

Remote 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 Article

Performance 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 Article


How 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 Article

How 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 Article

Adds 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 Article


How 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 Article


How 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 Article

How 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 Article

Double 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 Article

Image may be NSFW.
Clik here to view.

More 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 Article


Image may be NSFW.
Clik here to view.

Debugging 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 Article

Image may be NSFW.
Clik here to view.

Integrated 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 Article


Why 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 Article

Access 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 Article


Debugging 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 Article

Discovering 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 Article

Compiler 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

Security Best Practices for C++

[Title]Security Best Practices for C++[Details]This topic contains information about recommended security tools and practices. Using these resources and tools does not make applications immune from...

View Article


Vertical Synchronization: How to avoid tearing effect in high FPS display

[Tip] When displaying graphics in high FPS, Tearing Effect can be avoided by enabling Vertical Sync. [Details]Screen tearing is a visual artifact in video where information from two or more different...

View Article


CUDA: GPGPU without Graphics Knowledge.

[Tip] CUDA is NVIDIA’s parallel computing architecture. It enables dramatic increases in computing performance by harnessing the power of the GPU. [Details]"CUDA programming" and "GPGPU programming"...

View Article

Triple Buffering: Third buffer for fast graphics display

[Tip]Triple Buffering: Third buffer for fast graphics display. [Details]There are actually two buffers on modern graphics cards, the Primary Buffer and the Secondary Buffer, also often called the Front...

View Article

Run our code in another process. Simple method with CreateRemoteThread &...

[Tip]Inject our code into another process using CreateRemoteThread & LoadLibrary.[Details]In general, any process can load a DLL dynamically by using the LoadLibrary API. If we use...

View Article

Browsing latest articles
Browse All 25 View Live


Latest Images