To do copy paste on vim, we can use visual mode by typing v when on normal mode. Use cursor to select the text to copy. Below we select 6 characters. After selecting the text then press y to copy the text to register.
Continue reading “Vim : Copy Paste Operation”First IUP hello world program in C
After succesfully setting up IUP lib reference in codeblocks its time to test some IUP coding style. Download source code below.
In main.c file, we create some buttons and attach event handler to it. I modify it from IUP hello world sample to show how we access other controls from a event handler that only has reference to the control sending the event.
Using IUP on windows/mingw
IUP is a cross platform GUI library. Last time tried to figure out how to compile an IUP hello world program using codeblocks IDE. After some searching on internet finally managed to compile it. Here is the linker setting used.

AnyDesk 4.0
Microsoft Windows History on Youtube
Found on youtube , a video about history of Microsoft Windows from 1.0 to 10.
Vim text editor for windows
Tonight i want to install vim for windows on my Win 10 laptop.
Download the installer of gvim80-586.exe from url https://vim.sourceforge.io/download.php#pc.
Install it and follow till the end.

At the end we can choose to show readme like above.
Done installing and try to launch gvim from start menu by searching gvim.
Using gvim (gui version) is easier because we have access to menu instead of typing command.
Run cmd.exe under the local system account
Some time we need to debug a program which run using cmd.exe under system account(NT AUTHORITY\SYSTEM).
We can use psexec program from sysinternals’ PsTools to achieve this.

To use it, put pstools folder on your system path and execute
psexec -i -s cmd.exe
where arguments -i if for interactive and -s is for system account