Bug #14334 Updated: Bug in COM class

From: Date: Fri, 07 Dec 2001 03:09:09 +0000
Subject: Bug #14334 Updated: Bug in COM class
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72820@lists.php.net to get a copy of this message
ID: 14334 User updated by: wshs_chat@yahoo.com Reported By: wshs_chat@yahoo.com Status: Open Bug Type: COM related Operating System: Windows 2000 Professional PHP Version: 4.0.6 New Comment: If you mean php code, here goes: - $instance = new COM("WinampCOM.Application"); $title = $instance->CurrentSongTitle; - The $title line will produce the error if run via the httpd, but not if pasted in the stdin of php.exe. The WinampCOM.Application com requires a winamp module, which can be found at http://www.adcock8.freeserve.co.uk/gen_com.zip If any more info is needed, please don't hesitate to ask. Previous Comments: ------------------------------------------------------------------------ [2001-12-06 15:07:09] wshs_chat@yahoo.com If you mean php code, here goes: - $instance = new COM("WinampCOM.Application"); $title = $instance->CurrentSongTitle; - The $title line will produce the error if run via the httpd, but not if pasted in the stdin of php.exe. The WinampCOM.Application com requires a winamp module, which can be found at http://www.adcock8.freeserve.co.uk/gen_com.zip If any more info is needed, please don't hesitate to ask. ------------------------------------------------------------------------ [2001-12-06 12:13:41] phanto@php.net please provide the shortest possible code that produces this error. ------------------------------------------------------------------------ [2001-12-04 02:55:21] wshs_chat@yahoo.com Warning: Error in php_OLECHAR_to_char() in g:\apache\test\index.php on line 65. This error is only returned when the script is run from the httpd. IIS, Apache, and Xitami, all return this error. When I use the script via pasting it to stdin on php.exe, it runs perfectly. The script returns no errors from the stdin. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14334&edit=1

« previous php.dev (#72820) next »