We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9389be4 commit fb3c19eCopy full SHA for fb3c19e
Source/ExcelDna/ExcelDnaLoader.cpp
@@ -709,15 +709,16 @@ void LoaderUnload()
709
BOOL IsRunningOnCluster()
710
{
711
// Our check is to see if the current process is called Excel.exe.
712
- // Hopefully this doen't change soon.
+ // Hopefully this doesn't change soon.
713
+ // (Also added support for WPS Spreadsheets - et.exe)
714
715
TCHAR hostPathName[MAX_PATH];
716
DWORD count = GetModuleFileName(NULL, hostPathName, MAX_PATH);
717
718
std::wstring hostPath = hostPathName;
719
StripPath(hostPath);
720
- if (CompareNoCase(hostPath, L"EXCEL.EXE") == 0)
721
+ if (CompareNoCase(hostPath, L"EXCEL.EXE") == 0 || CompareNoCase(hostPath, L"ET.EXE") == 0)
722
723
return false;
724
}
0 commit comments