-
[C++] Start using GDI+ Library in c++
using gdiplus in c++, mfc When you develop a Windows program, you often need to work on the UI. In this case, we mainly use the gdiplus.dll library. There is a problem in getting the code and running it, but there is no problem. This is when gdiplus is not initialized. To use the gdiplus library, you must initialize it. #include #pragma comment(lib, "gdiplus") To use GDI +, all you need to do is..
2019.08.01 22:19 -
[C/C++] Five things you should not do in DLL Main you should know before Windows hooking
What you should not do in DLL Main before hooking on Windows Message Hooking As we have been doing main work and system analysis recently, there have been a lot of problems in DLL Main due to some operations, so we have put together precisely. There is no guarantee that loading DLLs for hooking will guarantee that Kernel32.dll is loaded. So what kind of problems do you have in any situation? The..
2019.07.31 23:30 -
[C++] start windows mouse hook example
One of the Windows development techniques is called hooking. The advantage is that you can control it more easily than you think. In addition, MSDN documentation exists because the technique is an official technology provided by MSDN. https://docs.microsoft.com/en-us/windows/win32/winmsg/hooks Hooks - Windows applications Hooks In this article --> A hook is a point in the system message-handling..
2019.07.30 22:55 -
[MFC] MFC execution flow (initialize~ finalize)
MFC Dialog Initialize to Finalize mfc execution flow! start application -> end application CTempApp::CTempApp() ------ Since the App class variable is declared as a global variable, the constructor is called first CTempApp::InitInstance() ------ Called from AfxWinMain function hidden in MFC code. (Responsible for loading program setting information, parameter processing, etc.) CTempDoc::CTempDoc..
2019.07.29 23:22