Re: Passing arguments to a DLL?
| From: | Szii | Date: | Tue, 17 Oct 2000 06:19:02 +0000 |
| Subject: | Re: Passing arguments to a DLL? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20537@lists.php.net to get a copy of this message | ||
Create the DLL, and export a method which'll take the parameter(s).
Or you can put parameters in your dllmain section (I think...spouting
from the top without researching it.) DLL's are just in-proc executables
which are dynamically loaded. You should be able to just pass it
in as argv/argc for the dllmain. To really make use of the DLL, you may
consider using dll exports and publishing a number of methods from
your single DLL. (I'm assuming Windows here due to the use of "DLL"
and not .so)
'Luck
-Szii
At 11:11 PM 10/16/00 -0700, Todd Cary wrote:
>Does anyone have experience in writing a DLL that can accept an argument
>from a URL?
>
>In one application, the DLL (runisa.dll) gets it data from the URL:
>
>http://www.markspeed.com/scripts/runisa.dll?qlweb:homepage
>
>I would like to know how to create a DLL where I can pass the data in
>the same way.
>
>Todd
>--
>Todd Cary
>Ariste Software
>todd@aristesoftware.com
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>