Remove dependence on atlbase.h
Signed-off-by: jiajia_deng <2894220@gmail.com>
This commit is contained in:
parent
019e34cac1
commit
1b4fac0355
@ -1,6 +1,5 @@
|
|||||||
#include "drag_drop.h"
|
#include "drag_drop.h"
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
#include <atlbase.h>
|
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
|
|
||||||
@ -327,7 +326,7 @@ STDMETHODIMP_(ULONG) SdkDropSource::Release( void)
|
|||||||
{
|
{
|
||||||
long nTemp;
|
long nTemp;
|
||||||
nTemp = --m_cRefCount;
|
nTemp = --m_cRefCount;
|
||||||
ATLASSERT(nTemp >= 0);
|
ASSERT(nTemp >= 0);
|
||||||
if(nTemp==0)
|
if(nTemp==0)
|
||||||
delete this;
|
delete this;
|
||||||
return nTemp;
|
return nTemp;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "tool.h"
|
#include "tool.h"
|
||||||
|
|
||||||
#include <atlbase.h>
|
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user