COM-problem: Uninitializing COM-Objects <-> runtime error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i have a problem regarding some COM objects, especially with unitializing. It is possible to create a new COM object without problems, but at the end of each script a message is shown by the Microsoft Visual C++ Runtime Library:

"This application has requested the runtime to terminate it in a unusual way. Please contact the application's support team for more information".

I think that this message is thrown if one of the used COM objects wasn't uninitialized properly. Many COM objects have a method that needs to be called for uninitialization (e.g. Quit()), but some objects don't. And as soon as i try to work with one of these objects, the error message mentioned above is shown.

Is there any way to uninitialize the COM-object anyway, or at least to suppress that error message so that the script may end properly (otherwise a keypress is needed to end the script)?

This problem occurs with PHP versions between 5.2.1 and 5.2.6, i didn't test it with other versions yet.

Best Regards,
Mario Trojan

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux