AW: [PHP-WIN] com_load_typelib()

From: Date: Thu, 06 Mar 2003 15:10:38 +0000
Subject: AW: [PHP-WIN] com_load_typelib()
Groups: php.windows 
Request: Send a blank email to php-windows+get-18876@lists.php.net to get a copy of this message
What do you need the typelib for ? I suggest you try the example in the doc of com_load_typelib, just comment out the call to this particular function and smile. (Background: com_load_typelib apparently does not attach to a running instance, so you get orphans en masse.) Generally you have to quit COM server objects with its respective method. For MS Word this is Application.Quit ($word->Quit in PHP when the instance was created using $word = new COM('Word.Application'); But for just using a COM object with the known vocabulary you never need to call com_load_typelib. This call is used by IDEs to show the interface to the user so (s)he can learn the possibilities (Object browser or similar). -- Sven > -----Ursprüngliche Nachricht----- > Von: Mark Hammond [SMTP:mhammond@collus.com] > Gesendet am: Donnerstag, 6. März 2003 15:13 > An: php-windows@lists.php.net > Betreff: [PHP-WIN] com_load_typelib() > > How does one kill the process created by com_load_typelib()? > > > com_load_typelib('Word.Application'); > > > The above code creates an instance of winword.exe on the server, and leaves it running indefinately. How does one kill this process when the code is done executing? > > ___________________________________________ > > Mark Hammond [mhammond@collus.com] > Information Service Coordinator > Collingwood Utility Services > > Phone: 705-445-1800 ext: 247 > Mobile: 705-441-4209 >   >   >   >   > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#18876) next »