Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Configuration of user-defined dll with PHP

6 views
Skip to first unread message

plmqaz

unread,
Jan 3, 2010, 3:40:33 AM1/3/10
to
Hello All,

I want to use user defined dll in PHP.

I am create dll in VC++. I successfully used in Visual Basic 6.0. Now
i want to use that dll in PHP. I am using XAMPP (Basis Package)
version 1.7.2. I performed following steps.

1: copy that example1.dll in C:\xampp\php\ext
2: Edit php.ini and write extension=example1.dll
3: Restart the XAMPP service. (While restarting i got following
waring:- PHP Startup: Invalid library (maybe not a PHP library)
'example1.dll' )

How can i resolve this problem ?

Please guide me.

Thanks in advance

Curtis Dyer

unread,
Jan 3, 2010, 4:12:57 AM1/3/10
to

Getting PHP extensions to work is a bit more involved than just
trying to link against arbitrary DLLs.

Try searching the Web for help on writing PHP extensions:

<http://google.com/search?q=writing+php+extensions+windows>

Good luck.

--
Curtis Dyer
<? $x='<? $x=%c%s%c;printf($x,39,$x,39);?>';printf($x,39,$x,39);?>

0 new messages