Quantcast
Channel: askyb.com » MFC
Browsing latest articles
Browse All 9 View Live

Image may be NSFW.
Clik here to view.

Using CPtrList to store data into memory

In this example, i will store 10 records into the memory using CPtrList. Let’s start the example by creating a Win32 console application from my VS2005 IDE. Make sure that we add common header files to...

View Article



Copy CPtrList

In this example, i will demostrate how to copy CPtrList, from source to destination, with just a simple calling function. If you are new to CPtrList, MSDN is a great source for you to start your...

View Article

Writing log file using CFile class

Log file can be used to trace your application’s activities effectively. For example, you can create a lo file to trace the active process during the execution of your application, preparing...

View Article

Image may be NSFW.
Clik here to view.

C++ Encryption and Decryption using Microsoft CryptoAPI

Do you have any sensitive data (e.g username, password, etc) which you think you want to encrypt it so that nobody can read it easily? In this article, i will show you how the task can be acheived...

View Article

How to execute external program securely – CreateProcess() vs ShellExecute()

It’s common that user will call CreateProcess() or ShellExecute() in order to execute external program from visual C++ project. But what make both different in term of security? ShellExecute() is...

View Article


Locking file on Windows Using C++

This example will demonstrate how you can lock a file for writing on Windows. This is useful especially if your application involves of multiple process and each process will access to the same file...

View Article

Image may be NSFW.
Clik here to view.

Load DLL List on Windows

Today i need to dertermine if a specified DLL is being loaded on Windows. While looking for a handy tool to handle this task, i came across an executable program, which is called TaskList.exe, provided...

View Article

Image may be NSFW.
Clik here to view.

Storing encrypted data into text file

This example will utilize the cryptography API on my previous post. If you are new to Microsoft cryptography API, you may refer to the following post, C++ Encryption and Decryption using Microsoft...

View Article


Image may be NSFW.
Clik here to view.

VC++ File Download Example

You might look for a file download solution so that you can create a software downloader or updater for you application. In this tutorial, i’ll show you how this can be done by using of C++. This...

View Article

Browsing latest articles
Browse All 9 View Live


Latest Images