'text/language'에 해당되는 글 5건
- 2019.02.16 How to make a volatile registry using NSIS script
- 2014.07.14 C++ Cocurrency tutorial
- 2009.09.01 XML
- 2009.06.26 shared_ptr tip
- 2008.11.05 Install QT on ubuntu linux
How to make a volatile registry using NSIS script

There is no native way to make a volatile registry key in NSIS, so we have to call WINAPI directly.
!define REG_OPTION_VOLATILE 1 Function MakeVolatileKey System::Call 'advapi32::RegCreateKeyEx(i ${HKEY_LOCAL_MACHINE}, t "Software\volatile", i0, i0, i ${REG_OPTION_VOLATILE}, i ${GENERIC_WRITE}, i0, *i.r1, *i)i.r0' |
But, there is one thing we have to consider on 64bit Windows.
If we add a code 'SetRegView 64' in order to avoid registry redirection, two registry keys are made:
1. HKEY_LOCAL_MACHINE\SOFTWARE\Volatile (by WriteRegDWORD)
2, HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\volatile (by RegCreateKeyEx)
SetRegView can not affect native registry APIs; then we should apply a KEY_WOW64_64KEY option to RegCreateKeyEx API.
!include WinCore.nsh !define REG_OPTION_VOLATILE 1
${If} ${RunningX64} |
c++ Concurrency tutorial
http://baptiste-wicht.com/categories/c11-concurrency-tutorial.html
- <? .... ?> 의 형태를 가지는 노드이다.
- 생성
- MSXML : createProcessingInstruction( target, data , &pi );
- target: nodeName property 형태로 접근
- data: nodeValue property 형태로 접근
- 접근
- xpath : processing-instruction('target')