From:             christian at wenz dot org
Operating system: WinXP
PHP version:      5.0.1
PHP Bug Type:     COM related
Bug description:  new DOTNET fails for assemblys other than mscorlib

Description:
------------
The .NET sample from the manual (stack, Pop(), Push()) works fine with the
new patch, however I encounter problems instanciating .NET objects that are
_not_ in mscorlib. I don't think there is an error in my code. 

Reproduce code:
---------------
<?php
  $dotnetxsl = new DOTNET("System.Xml", "System.Xml.Xsl.XslTransform");
?>

Expected result:
----------------
no output

Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message 'Failed to
instantiate .Net object' in e:\Inetpub\wwwroot\php\dotnet1.php:2 Stack
trace: #0 {main} thrown in e:\Inetpub\wwwroot\php\dotnet1.php on line 2

-- 
Edit bug report at http://bugs.php.net/?id=29800&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29800&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29800&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29800&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29800&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29800&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29800&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29800&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29800&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29800&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29800&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29800&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29800&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29800&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29800&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29800&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29800&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29800&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29800&r=float

Reply via email to