Re: Using DLL with PHP
| From: | Dan Shirah | Date: | Tue, 10 Feb 2009 18:40:30 +0000 |
| Subject: | Re: Using DLL with PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288075@lists.php.net to get a copy of this message | ||
>
> It doesn't appear that your function accepts a parameter. What does
> this do:
>
> //VB
> Public Function hello(ByVal name As String) As String
> hello = "Hello " & name & "!"
> End Function
>
> //PHP
> echo $new_com->hello("Dan");
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com
>
Shawn I tried what you suggested but it returns the following:
*Fatal error*: Cannot pass parameter 1 by reference