Quantcast
Channel: Technical Tips
Browsing index pages (25 articles)

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


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


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

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

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


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

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

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


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


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

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

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.

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


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

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


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


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

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
Browsing index pages (25 articles)


Latest Images