Visual Studio 2003
Microsoft has implemented lots of useful functionality in Windows that they use in their own products. Many of these features can be used to enhance the security of third party applications, but not many developers or software architects know about them. This talk will detail some of the technical underpinnings of Windows features like UAC, IE protected mode and Terminal Serivces and show how they can be used to defend your own software from attack.
HANDLE hLogFile;
hLogFile = CreateFile("c:\\log.txt", GENERIC_WRITE,
FILE_SHARE_WRITE, NULL, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, NULL);
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE);
_CrtSetReportFile(_CRT_ASSERT, hLogFile);
- Kuling's blog
- Odpowiedz
- 159 odsłon
http://msdn.microsoft.com/en-us/library/k13k85ky.aspx
http://msdn.microsoft.com/en-us/magazine/cc301398.aspx
- Kuling's blog
- Odpowiedz
- 167 odsłon
http://msdn.microsoft.com/en-us/magazine/cc301399.aspx
- Kuling's blog
- 155 odsłon
- Kuling's blog
- Odpowiedz
- 142 odsłony
Can you explain the purpose of the typename keyword in C++? When should I use it instead of <class T>? Is there some difference between the two?
- Kuling's blog
- Odpowiedz
- 156 odsłon
- Kuling's blog
- Odpowiedz
- 151 odsłon
Below you can find three methods of writing exception safe code in real world. In the order prefered by author:
- Petru's ScopeGuard
- RAII
- try / catch mess
http://www.ddj.com/cpp/184403758
- Kuling's blog
- Odpowiedz
- 134 odsłony
It's far easier and much less trouble to find and use a bug-ridden, poorly implemented snippet of code written by a 13 year old blogger on the other side of the world, than it is to find and use the equivalent piece of code, written by your team leader on the other side of a cubicle partition.
- Kuling's blog
- Odpowiedz
- 162 odsłony
- Kuling's blog
- Odpowiedz
- 145 odsłon
