My first attempt to work with MS Word application failed. The process WINWORD.EXE *32 appears in taskmanager, Apache and WINWORD dont consume any processor time, but the explorer (Firefox) remains in waiting state.
$ap=null;
try{
// com_load_typelib('Word.Application'); // it didn't help
$ap=new COM("Word.application");
// $ap->Visible=false;
} catch (Exception $e){
print "<div>$e</div>";
}
if(!$ap) print "<div>Word.application cannot be open</div>";
if($ap) $ap->quit();
My OS = Windows 7 Ultimate x64
both Apache 2.4 with PHP 5.6.13 and Office 2010 are x86
php_com_dotnet.dll loaded.
Any idea?