From:             mcyra at chello dot at
Operating system: WinXP
PHP version:      5.0.5
PHP Bug Type:     COM related
Bug description:  using the exsample for .NET causes a com_exeption

Description:
------------
A sample script from documentation causes this error.
German version of WinXP.
Microsoft .NET Framework 1.1.
Microsoft .NET Framework 1.1 German Language Pack.
PHP 5.0.5 (cli) (build: Sep 5 2005 15:54:44)
Zend Engine v2.0.5

Reproduce code:
---------------
<?php
  $stack = new DOTNET("mscorlib", "System.Collections.Stack");

  $stack->Push(".Net");
  $stack->Push("Hello ");

  echo $stack->Pop() . $stack->Pop();
?>

Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message 'Failed to
instantiate .Net object [CreateInstance] [0x80070057] Falscher Parameter.'
in D:\NET\test.php:2
Stack trace: 
#0 D:\NET\test.php(2): dotnet->dotnet('mscorlib', 'System.Collecti...')
#1 {main}
  thrown in D:\NET\test.php on line 2

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

Reply via email to