MFC2010. 4. 27. 10:53

다이얼로그 베이스의 프로그램에서 CComVariant 등의 ATL을 사용하는 방법입니다.

우선 Project -> Settings -> Link -> Object/library modules 로 가서
  Wininet.lib 를 추가합니다.

다음으로 stdafx.h 파일에 다음 헤더파일들을 인클루드해주면 됩니다.
#include <Mshtml.h>
#include <atlbase.h>
Posted by 못생긴나무