Qt Thread
Some concepts of Qt Thread are subtle enough to confuse most newbies. You may have read articles about “the right way” and “the wrong way” to use Qt thread, and […]
Some concepts of Qt Thread are subtle enough to confuse most newbies. You may have read articles about “the right way” and “the wrong way” to use Qt thread, and […]
We know that . in a regular express means “any character”. But it is not true when . is in []. A . in [] just means . itself. If […]
You can define a global variable in a dll, and define another global variable with the same name in the main program that loads the dll. The two global variables […]
mhook is a good library to set up Windows API hook. However it is developed under VC. You can Download the source code of mhook and uncompress the zip package, […]
We know that dll has a entry function: BOOL WINAPI DllMain(…) This function is called whenever the dll is loaded such as by LoadLibrary() function. We may do some initialization […]
One of the methods to run your code in another process(remote process)(so-called code injection) is using Windows Hook. The process is as follows: You write your code in a function […]
Inline assembly in VC is very simple. You embed the assembly code in C/C++ code as if you are writing a pure assembly language file. For example, the following inline […]
I am compiling a dll with 3 .c files and one .cpp file using mingw gcc, when this error occurs “undefined reference to `__gxx_personality_sj0′”. The reference comes from the .cpp […]
We know that a variable will be substituted with its value in a “” delimited string such as: $var1=”var1″; echo “this is $var1”; will print “this is var1”. This variable […]
I never used Qt creator to create projects for source file management because I am scared by the mysterious .pro, .pro.user, Makefile Makefile.Debug, Makefile.Release, and the build directories Qt creator creates for […]