RE: Call ActiveX component

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The comma before the second trim is misplaced....by chance, do you mean this
instead:

$ReturnBalance=$DelphiASPObj->GetClientBalance(trim($Outlet_session)."E",
trim($Application["FinURL"]));

-----Original Message-----
From: Louis Young [mailto:louis@xxxxxxxxxxxxx] 
Sent: Friday, January 14, 2005 6:15 AM
To: php-windows@xxxxxxxxxxxxx; php-gurus@xxxxxxxxxxxxxxx
Subject:  Call ActiveX component


Hi there

I'm trying to call an ActiveX object from PHP. The code in ASP looks as 
follows:

Set DelphiASPObj = Server.CreateObject("ClientBalance.coClientBalance")
DelphiASPObj.GetClientBalance (Trim(Session("Outlet")) & "E")  , 
Trim(Application("FinURL")), ReturnBalance

I tried this in PHP:

$DelphiASPObj = COM("ClientBalance.coClientBalance"); // Line 281

$ReturnBalance=$DelphiASPObj->GetClientBalance(trim($Outlet_session)."E"),tr
im($Application["FinURL"]));

But I get the following error message:

*Parse error*: parse error in *C:\Program Files\Apache 
Group\Apache2\htdocs\spar\admin\rpt_electrans.php* on line *281

Any ideas?

Cheers
Louis
*

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux