ID:               28117
 User updated by:  kaija_jan at hotmail dot com
 Reported By:      kaija_jan at hotmail dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         COM related
 Operating System: windows 2k
 PHP Version:      5.0.0RC1
 New Comment:

thx for reply


Previous Comments:
------------------------------------------------------------------------

[2005-01-26 04:53:34] [EMAIL PROTECTED]

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



------------------------------------------------------------------------

[2004-04-28 09:38:55] kaija_jan at hotmail dot com

iis 5 and apache 2
if you need hex output in delphi com, i can show it to you
and if u need the delphi com project, i will send it for you.

------------------------------------------------------------------------

[2004-04-28 09:31:14] [EMAIL PROTECTED]

Are you running CGI, CLI, IIS or Apache module ?


------------------------------------------------------------------------

[2004-04-23 10:26:23] kaija_jan at hotmail dot com

It's output the same in this case.
I had tried this way.
And I also tried to print out each byte of "e" and "d"(even a) in the
DELPHI COM Object.

*It's different between e and d(or a).*

It's the same if you try to return the string from the Object. But It's
different in the object.
This problem confused me for a long time.

Notice : I'm not sure if it is the same result in Visual C++
COM.(Delphi COM crashed php, but VC COM didn't.) I'm not a good C
programmer :(. I can't help you about this.

=========================
output:
d is a4a4a4e5
e is a4a4a4e5
=========================

------------------------------------------------------------------------

[2004-04-23 09:53:46] [EMAIL PROTECTED]

Could you please adjust your COM object to return e instead, and paste
the output of this script here?

<?php
    $a = $b = $c = $d = "中文"; //some chinese words
    $comtest = new COM("comtest.test1");
    $e = $comtest->comparestr($a, $b, $c, $d);
    echo "d is " . bin2hex($d) . "\n";
    echo "e is " . bin2hex($e) . "\n";
?>


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/28117

-- 
Edit this bug report at http://bugs.php.net/?id=28117&edit=1

Reply via email to