- class diagram
2012年4月6日 星期五
2012年3月28日 星期三
XML Path Language (XPath)
- Wiki: http://zh.wikipedia.org/wiki/XPath
- XPath example: http://www.w3schools.com/xpath/xpath_examples.asp
- XPath Syntax: http://www.w3schools.com/xpath/xpath_syntax.asp
2012年3月19日 星期一
Embdded “requireAdministrator” in VS2005
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="<AppName>" type="win32"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
將上面的copy下來檔存成.manifest, 然後開啟VS2005, 依下面步驟
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="<AppName>" type="win32"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
將上面的copy下來檔存成.manifest, 然後開啟VS2005, 依下面步驟
- Open your project in Microsoft Visual Studio 2005.
- Under Project, select Properties.
- In Properties, select Manifest Tool, and then select Input and Output.
- Add in the name of your application manifest file under Additional manifest files.
- Rebuild your application.
2012年2月1日 星期三
仿Minimem程式
在firefox使用memory至高的年代裡, 有人寫出了這個東西來減少它對於記憶體的須求量, 一直都很好奇, 這樣的程式是怎麼寫出來的, 直到reverse了minimem之後才發現, 原來這東西很簡單, 就單單只是呼叫了Windows API EmptyWorkingSet,
BOOL WINAPI EmptyWorkingSet( __in HANDLE hProcess );
2012年1月21日 星期六
Panasonic GF2
為了一台隨身機, 考慮了很久, 本想買PentaxQ(夠小台), 但考慮了很久就是, 這Q的感光原件太小, 於是就在某台特價時, 手滑了一台Panasonic GF2, 雖然是日文機, 但還是很簡單, 對於有操作過單眼的人來說一定不會覺得困難, 倒是因為太多功能被整合到觸控螢幕上了, 所以常常不知道要點哪裡.....
訂閱:
文章 (Atom)

