fixed: file is dragged twice by accident.

fixed: exe and lnk files dragged by accident.
fixed: "dir" used instead of "filename".
This commit is contained in:
Nick Bolton
2014-02-07 18:44:45 +00:00
parent 98f8a12425
commit cfc1aa2569
3 changed files with 37 additions and 8 deletions

View File

@@ -85,11 +85,9 @@ CDataHandlerExtension::Release()
HRESULT STDMETHODCALLTYPE
CDataHandlerExtension::Load(__RPC__in LPCOLESTR pszFileName, DWORD dwMode)
{
outputDebugStringF("synwinxt: > CDataHandlerExtension::Load\n");
outputDebugStringF("synwinxt: > CDataHandlerExtension::Load\n");
std::string fileName = _bstr_t(pszFileName);
setDraggingFilename(fileName.c_str());
outputDebugStringF("synwinxt: < CDataHandlerExtension::Load\n");
return S_OK;
}