#35081 [Opn->Fbk]: using the example for .NET causes a com_exeption
| From: | sniper@php.net | Date: | Thu, 03 Nov 2005 14:48:00 +0000 |
| Subject: | #35081 [Opn->Fbk]: using the example for .NET causes a com_exeption | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87474@lists.php.net to get a copy of this message | ||
ID: 35081
Updated by: sniper@php.net
Reported By: mcyra at chello dot at
-Status: Open
+Status: Feedback
Bug Type: COM related
Operating System: WinXP
PHP Version: 5.0.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-11-03 08:03:25] mcyra at chello dot at
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 this bug report at http://bugs.php.net/?id=35081&edit=1