#46909 [Csd->Bgs]: COM object not allowing calls to methods
| From: | pajoye@php.net | Date: | Wed, 19 Aug 2009 16:59:27 +0000 |
| Subject: | #46909 [Csd->Bgs]: COM object not allowing calls to methods | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141250@lists.php.net to get a copy of this message | ||
ID: 46909
Updated by: pajoye@php.net
Reported By: jmertic@php.net
-Status: Closed
+Status: Bogus
Bug Type: COM related
Operating System: Windows Server 2008 x64
PHP Version: 6CVS-2008-12-19 (snap)
Previous Comments:
------------------------------------------------------------------------
[2009-08-19 16:29:04] kalle@php.net
Dublicate of #45836, its because theres not any unicode support in
com_dotnet yet
------------------------------------------------------------------------
[2008-12-19 20:33:33] jmertic@php.net
Description:
------------
Having trouble access the COM methods for an object; getting Fatal
errors that the method is undefined. Works fine under PHP 5.2.8 on the
same machine.
Reproduce code:
---------------
$filename = 'Test File Name.txt';
$fso = new COM("Scripting.FileSystemObject");
$file = $fso->GetFile($filename);
echo $file;
Expected result:
----------------
testfi~1.txt
Actual result:
--------------
Fatal error: Call to undefined method com::GetFile()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46909&edit=1