Re: Calling Windows DLL Files

From: Date: Fri, 12 Jul 2002 12:57:48 +0000
Subject: Re: Calling Windows DLL Files
Groups: php.windows 
Request: Send a blank email to php-windows+get-14727@lists.php.net to get a copy of this message
I would suggest breaking this project into the two logically seperate pieces. If this is a windows DLL, make yourself a COM or DCOM object in VB or VC++, then call that COM object from inside PHP. The COM object will be able to do the tweaky stuff with networks, scanning, etc. Put all your business logic there - scan fila A and put it into folder B based on patient ID C. Alternatively, you can just make a command line application that does it in any language you wish, and call it with 'exec' from PHP. Lets face it... you COULD do all this stuff with just PHP, but this isn't its strength, and would be bleeding edge, and probably not too
stable... altho it would be noble to try  ;)    Mashing everything into one layer also makes it harder to maintain.
-- Brian 'Bex' Huff bex@stellent.com Phone: 952-903-2023 Fax: 952-829-5424

« previous php.windows (#14727) next »