Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2002071

[PHP-WIN] Re: Calling Windows DLL Files From: Brian Huff (bex <email protected>)
Date: 07/12/02

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 <email protected> Phone: 952-903-2023 Fax: 952-829-5424

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