ID: 41790
Comment by: cpriest at warpmail dot net
Reported By: mona dot arabi at yahoo dot co dot uk
Status: No Feedback
Bug Type: COM related
Operating System: windows xp 2002 sp2
PHP Version: 5.2.3
New Comment:
<?php
$stack = new DOTNET("mscorlib", "System.Collections.Stack");
$stack->Push(".Net");
$stack->Push("Hello ");
echo $stack->Pop() . $stack->Pop();
?>
is no longer working either in 5.3.1
<?
$test = new DOTNET("System", "System.Diagnostics.Process");
?>
This also still fails in 5.3.1 -- it appears as though DOTNET
functionality is not going to be fixed, there are numerous bug reports
and no activity.
Previous Comments:
------------------------------------------------------------------------
[2007-07-17 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-07-09 11:19:24] [email protected]
See bug #29800 for more info.
------------------------------------------------------------------------
[2007-06-24 16:03:21] mona dot arabi at yahoo dot co dot uk
i mean that this code is working
?php
$stack = new DOTNET("mscorlib", "System.Collections.Stack");
$stack->Push(".Net");
$stack->Push("Hello ");
echo $stack->Pop() . $stack->Pop();
?>
but this
<?
$test = new DOTNET("System", "System.Diagnostics.Process");
?>
generate
Fatal error: Uncaught exception 'com_exception' with message 'Failed
to
instantiate .Net object [CreateInstance] [0x80070002] The system
cannot
find the file specified. ' in C:\webs\test\index.php:7 Stack trace: #0
C:\webs\test\index.php(7): dotnet->dotnet('System',
'System.Diagnost...') #1 {main} thrown in C:\webs\test\index.php on
line
7
------------------------------------------------------------------------
[2007-06-24 14:26:47] mona dot arabi at yahoo dot co dot uk
Description:
------------
i can't instanciate an object from .net
Reproduce code:
---------------
<?
$test = new DOTNET("System", "System.Diagnostics.Process");
?>
WHILE
?php
$stack = new DOTNET("mscorlib", "System.Collections.Stack");
$stack->Push(".Net");
$stack->Push("Hello ");
echo $stack->Pop() . $stack->Pop();
?>
WORKING
Expected result:
----------------
CREATING AN OBJECT TO PROCESS
Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message 'Failed to
instantiate .Net object [CreateInstance] [0x80070002] The system cannot
find the file specified. ' in C:\webs\test\index.php:7 Stack trace: #0
C:\webs\test\index.php(7): dotnet->dotnet('System',
'System.Diagnost...') #1 {main} thrown in C:\webs\test\index.php on line
7
my php
PHP 5.2.3 (cli) (built: may 31 2007 09:37:22)
copyright (c) 1997-2007 THE PHP GROUP
Zend Engin v2.2.0 , copyright(c)1998-2007 zend Technologies.
Apache/2.0.59 (Win32)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41790&edit=1