부모글 보이기/감추기 What is the property system?; http://blogs.msdn.com/benkaras/archive/2006/08/28/729153.aspxVista 에 소개되는 새로운 기능이군요.다음 회에서는 사용예까지 보여준다고 하니 일단 대강 읽어보기만 해도 될 것 같습니다.WinFS 의 일부 기능을 지원한 듯도 보이고. AD BLOCK 해제 요청 이 글에는 광고가 많이 들어가 있지 않습니다. adblock을 해제하셔도 글을 읽는데 그다지 부담이 없으니 해제를 부탁드립니다. Property consumerism ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/property-consumerism 약속대로 코드 예제를 공개했습니다. 별로 많은 내용이 아니니, 여기에 복사해 넣습니다. Reading properties is rather simple. First, bind to the item. SHCreateItemFromIDList and SHCreateItemFromParsingName are appropriate for this. Then read your properties. Be sure to clean up after yourself. IShellItem2 *psi;if (SUCCEEDED(SHCreateItemFromParsingName(L"c:\tortoise.doc", NULL, IID_IShellItem2, (void**)&psi))) { IPropertyStore *pps; if (SUCCEEDED(psi->GetPropertyStore(GPS_DEFAULT, IID_IPropertyStore, (void**)&pps))) { PROPVARIANT propvar = {0}; if (SUCCEEDED(pps->GetValue(PKEY_Title, &propvar))) { wprintf(L"Title: %s\n", PropVariantToStringWithDefault(propvar, L"")); PropVariantClear(&propvar); } pps->Release(); } psi->Release();} Not bad for reading the title of a document! And I even checked the return results. --- Constable Umer walked down the narrow flagstone path, then onto cobblestones and finally gravel stones. Turning a corner, Cons. Umer found a door with a small card pinned to next to it. "Great Flying Tortoise: Purveyor of fine, proper teas." [다음 글] Vista : 8. What is the property system?[이전 글] Vista : 8. The source of property types [최초 등록일: 10/20/2006] [최종 수정일: 4/26/2024] 비밀번호 댓글 작성자 2006-10-06 10시35분 Properties coding expedition #1 - Binding to an item ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-1-binding-to-an-itemProperties coding expedition #2 - printing the IPropertyStore ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-2-printing-the-ipropertystoreProperties coding expedition #3 - Printing a value ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-3-printing-a-valueProperties coding expedition #4 - The output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-4-the-outputProperties coding expedition #5 - Stripping characters; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-5-stripping-charactersProperties coding expedition #6 - Developer friendly output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-6-developer-friendly-outputProperties coding expedition #7 - The final output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-7-the-final-output kevin25 ... 46 [47] NoWriterDateCnt.TitleFile(s) 18정성태9/19/200411811HTML SELECT 요소에 OPTION 요소를 채우는 C/C++ 예제117정성태11/14/200510541[정보] Visual Studio 6.0 Samples16정성태9/5/200411711JAVA 로 구현된 NTLM 구현115정성태9/2/200410375Developing Active Server Components with ATL14정성태7/20/200410682No-Touch Deployment13정성태6/30/200410767How to read BLOB from Dataset into buffer? 11정성태2/14/200410650XMLHTTP 에서 반환받은 non-XML 데이터를 보여주는 모듈10정성태2/14/200413618MSIL 디컴파일러 - .NET Reflector [1]9정성태1/26/200411954스크립트 디코더1159정성태12/23/20059643 [업데이트]: 스크립트 디코더18정성태1/26/200414553게시물 도배 프로그램 방지7정성태1/26/200413045Microsoft.XMLHTTP 개체로 XML 이 아닌 다른 데이터 가져오기6정성태8/6/200311816Three Ways to Inject Your Code into Another Process15정성태7/29/200311937SQL 서버 sa 암호를 잊은 경우, 복구하는 방법14정성태7/25/200313460DiskId32 - 물리하드 디스크 정보212정성태6/11/200410427 [추가] WMI 로 구하는 방법13정성태7/25/200312080C# 프로그래밍 언어에 추후 추가되는 기능12정성태7/25/200312367INFO: COM+ 1.0의 새로운 기능1 ... 46 [47]