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:[EMAIL PROTECTED]
> Gesendet am:  Donnerstag, 6. März 2003 15:13
> An:   [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
> 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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to