Programming/ATL WTL COM2010. 9. 7. 16:31
Win32API는 C로 만들어졌음
MFC는 Win32API를 C++로 감쌈(wrapping)

STL은 C++에서 쓰기쉽도록 여러가지 라이브러리를 모아놓은 것
ATL은 COM을 쉽게 쓸수 있도록 만든 것
WTL은 ATL 기반으로 MFC와 ActiveX를 경량화한 것

MFC의 일부는 COM을 지원하도록 설계
ATL은 COM을 지원하도록 전적으로 설계
ActiveX는 ATL이나 MFC로 작성가능

OWL은 borland c++ 을 위한 winAPI framework
boost C++ library는 c++ 를 확장하기 위한 것.


[링크 : http://en.wikipedia.org/wiki/Win32]
[링크 : http://en.wikipedia.org/wiki/Standard_Template_Library]
[링크 : http://en.wikipedia.org/wiki/Windows_Template_Library]
[링크 : http://en.wikipedia.org/wiki/Active_Template_Library]
[링크 : http://en.wikipedia.org/wiki/Microsoft_Foundation_Classes]
[링크 : http://en.wikipedia.org/wiki/Component_Object_Model]
[링크 : http://en.wikipedia.org/wiki/Object_Windows_Library]
[링크 : http://en.wikipedia.org/wiki/Boost_C%2B%2B_Libraries]

[링크 : http://msdn.microsoft.com/en-us/library/k851ext3%28VS.80%29.aspx] MFC/COM
[링크 : http://msdn.microsoft.com/en-us/library/k194shk8%28v=VS.80%29.aspx] MFC/ActiveX

[링크 : http://kanemochi.egloos.com/8848925]
[링크 : http://jacking75.cafe24.com/WTL/Index.htm]
Posted by 구차니
Microsoft/Visual Studio2010. 4. 6. 22:44
Programming/C Win32 MFC2008. 12. 30. 00:48
open이 있으면 close가 있는 법. 레지스트리 역시 open / create를 했으면 close를 해주어야 한다.
hKey [in]

A handle to the open key to be closed. The handle must have been opened by the RegCreateKeyEx, RegCreateKeyTransacted, RegOpenKeyEx, RegOpenKeyTransacted, or RegConnectRegistry function.


Remarks

The handle for a specified key should not be used after it has been closed, because it will no longer be valid. Key handles should not be left open any longer than necessary.

The RegCloseKey function does not necessarily write information to the registry before returning; it can take as much as several seconds for the cache to be flushed to the hard disk. If an application must explicitly write registry information to the hard disk, it can use the RegFlushKey function. RegFlushKey, however, uses many system resources and should be called only when necessary.


[RegOpenKey : http://msdn.microsoft.com/en-us/library/ms724895(VS.85).aspx]
[RegCloseKey : http://msdn.microsoft.com/en-us/library/ms724837(VS.85).aspx]
[RegCreateKey : http://msdn.microsoft.com/en-us/library/ms724842(VS.85).aspx]
[RegDeleteKey : http://msdn.microsoft.com/en-us/library/ms724845(VS.85).aspx]
Posted by 구차니