I didn't know there was another maintainer, the EXTENSIONS file (only reference
I know which has any info about maintainers) only lists you as the sole
maintainer for com_dotnet.
This extension really belongs to PECL, it's a) only for win32 b) not something
we need in core.
--Jani
Wez Furlong kirjoitti:
Per previous discussion on internals, there are other "more active"
maintainers for COM right now, and by assigning to me, you're assigning
to the wrong person.
If you don't care, that's fine, it's just that "assigned" is not really
the correct disposition for the ticket in that case; better to leave it
open so that someone else can clearly see that nothing is happening, and
perhaps then fix it themselves.
--Wez.
On Aug 15, 2007, at 8:36 AM, [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] you have just been assigned to this bug by [EMAIL PROTECTED]
ID: 40581
Updated by: [EMAIL PROTECTED]
Reported By: elvir at innvue dot com
-Status: Open
+Status: Assigned
Bug Type: COM related
Operating System: Windows Server 2003
PHP Version: 5.2.1
-Assigned To:
+Assigned To: wez
New Comment:
Assigned to the maintainer.
Previous Comments:
------------------------------------------------------------------------
[2007-02-21 17:40:09] elvir at innvue dot com
c++ codes:
typedef [uuid(5A0CB3A7-798A-42ff-B864-F8D90B55DB7C)] struct mystruct
{
LPSTR var1;
LPSTR var2;
LPSTR var3;
LPSTR var4;
} mystruct
<?php
$newCom = new COM("classname.methodname") or die (" COM exeption");
if(method_exists ($newCom, "ResetS")){
echo "method exists ...";
$newCom->ResetS(struct, GUID);
}else{
echo "method doesn't exist...";
}
?>
Question is: how can i create a struct (c++) type in php to pass to
COM.
------------------------------------------------------------------------
[2007-02-21 17:29:27] elvir at innvue dot com
Description:
------------
hello,
I have a COM object created in c++. One of methods accept a struct as a
parameter. I have to call this method from PHP script.
Reproduce code:
---------------
object accepted:
typedef [uuid(5A0CB3A7-798A-42ff-B864-F8D90B55DB7C)] struct mystruct
{
LPSTR var1;
LPSTR var2;
LPSTR var3;
LPSTR var4;
} mystruct
$newCom = new COM("classname.methodname") or die (" COM exeption");
if(method_exists ($newCom, "ResetS"))
// this retun true
Expected result:
----------------
what i want is:
call my method with the following param from php:
$newCom->mymethod(mystruct sructPHP, GUID sku);
Please can you help me?
Actual result:
--------------
I tryed to create an object in PHP and call method i get the following
error:
'com_exception' with message 'Error [0x80028019] Old format or invalid
type library.
------------------------------------------------------------------------
--Edit this bug report at http://bugs.php.net/?id=40581&edit=1
--PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php