I am using Win8.1 with all updates and Winedt 9 and when compiling using the Winedt console, I get the following message:impossible to start the program because MiKTeX209-core.dll is missing. Please reinstall the programm to correct this error. However, when I start pdflatex from the dos prompt the tex file is compiled. I add that LuaLaTeX from winedt console works correctly. MiKTeX is updated with the latest updates both in admin and user modes. Winedt is also in its latest version. The MWE:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{slantsc}
\setcounter{secnumdepth}{0}
\pagestyle{empty}
\usepackage[T1]{fontenc}
\usepackage{tgschola}
\begin{document}
\centerline{\textsc{\large
Please look into the source; if needed, modify it and recompile\rlap.}}
\section{Section}
A section starts here.
\section{A second section}
\section{A third section}
Section!!
\end{document}
Any help would be appreciated.