Quantcast
Channel: Tuning Excel calculation engine which uses MS Excel interop - Code Review Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Heslacher for Tuning Excel calculation engine which uses MS Excel...

At a quick glance, thispublic static bool TryKillProcessByMainWindowHwnd(int hWnd){ uint processId; GetWindowThreadProcessId((IntPtr) hWnd, out processId); if (processId == 0) return false; try {...

View Article


Answer by Malachi for Tuning Excel calculation engine which uses MS Excel...

One thing that I saw that didn't look good was, your resource disposal herepublic void Dispose(){ try { var hWnd = _excelApplication.Application.Hwnd; TryKillProcessByMainWindowHwnd(hWnd); } catch...

View Article


Tuning Excel calculation engine which uses MS Excel interop

I am currently building an Excel calculation engine. Its purpose is basically to wrap the calculation logic of an Excel workbook in order to use the logic from a C# library. using (var s = new...

View Article
Browsing all 3 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>