Calling the php parser from a Win32 program

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Luca Arena

    Calling the php parser from a Win32 program

    Hi, I would like to know if it is possible to call the php parser from
    a Win32 program (e.g. a VB or C++ program), WITHOUT calling the
    commandline php.exe utility. I mean, is there any "php_parse"
    function, exported by the php5ts.dll, which I can declare in my Win
    program and then call to parse a php script?

    Thanks in advance
    Luca


  • R. Rajesh Jeba Anbiah

    #2
    Re: Calling the php parser from a Win32 program

    Luca Arena wrote:[color=blue]
    > Hi, I would like to know if it is possible to call the php parser from
    > a Win32 program (e.g. a VB or C++ program), WITHOUT calling the
    > commandline php.exe utility. I mean, is there any "php_parse"
    > function, exported by the php5ts.dll, which I can declare in my Win
    > program and then call to parse a php script?[/color]

    PHP4Application s, a sub-project of PHP4Delphi provides a DLL file
    (intended to work with VB, VC, etc) that you can use. But, I couldn't
    get it work with VB 6; it always get crashed. If you could successfully
    get this work, kindly let me know.
    1. PHP4Delphi & PHP4Application s
    <http://members.chello. be/ws36637/php4delphi.html >
    2. Via CVS
    <http://cvs.sourceforge .net/viewcvs.py/psvlib/php4Delphi/php4Application s/>
    3. Pascal Demo
    <http://cvs.sourceforge .net/viewcvs.py/psvlib/php4Delphi/Demos/php4App/Unit1.pas?rev=6 .0&view=markup >
    Check this file for supported API functions.

    --
    <?php echo 'Just another PHP saint'; ?>
    Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com

    Comment

    Working...