Remove dependence on atlbase.h

Signed-off-by: jiajia_deng <2894220@gmail.com>
This commit is contained in:
jiajia_deng 2019-05-22 09:50:28 +08:00
parent 019e34cac1
commit 1b4fac0355
2 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,5 @@
#include "drag_drop.h"
#include <shlobj.h>
#include <atlbase.h>
#include <shlobj.h>
#include <shlwapi.h>
@ -327,7 +326,7 @@ STDMETHODIMP_(ULONG) SdkDropSource::Release( void)
{
long nTemp;
nTemp = --m_cRefCount;
ATLASSERT(nTemp >= 0);
ASSERT(nTemp >= 0);
if(nTemp==0)
delete this;
return nTemp;

View File

@ -1,7 +1,6 @@
#include "stdafx.h"
#include "tool.h"
#include <atlbase.h>
#include <shlwapi.h>
#include <shlobj.h>
#include <io.h>