Let me answer the questions firstOriginally Posted by ;
1. This occurs since, technically, when the DLL is calling excel, it is utilizing the UI thread of excel (except when opening the workbook; there is just 1 thread for excel you'll have when opening the work book). Once I created this, I didn't construct a dll to be used. I had been'in a hurry'. So I left the multi threaded facet out along with error checking.
2. No. I left it out due time constraints.
If you're interested in the source code, then have a look at it here: https://github.com/Nondisclosure/MT4toExcel




Reply With Quote