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++....
[ Click to Continue ]Category "MFC"
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 CryptoAPI, for more information on how to use the cryptography API. The objective of this example is to encrypt a string from edit......
[ Click to Continue ]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 by Microsoft. Basically, i can use TaskList.exe to determine all the running processes on Windows. Besides, i can even determine......
[ Click to Continue ]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 simultaneously. The LockFile function locks the file for exclusive access by the calling process only. Once it finish its writing process......
[ Click to Continue ]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?...
[ Click to Continue ]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 easily by using Microsoft cryptography API. The following diagram shows the steps involved in this cryptography demo......
[ Click to Continue ]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 un-installation item list, record inbound data or outbound data, etc. This article will demostrate how to write a log file by using CFile class.......
[ Click to Continue ]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 journey. Also, you can refer to my previous post on Using CPtrList to store data into memory as a......
[ Click to Continue ]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....
[ Click to Continue ]
VC++ File Download Example