Jump to content

Recommended Posts

I am trying to integrate php scripting into my application using the windows ScriptControl object. VBScript and JScript are working well on a broad variety of platforms including Vista,XP, server 2008r2/2003/2000.

 

Can not get php scripting to work. This wsf file pops-up a 'hello world' window, but wscript crashes.

 

<job id="test">
    <script language="PHPScript">
        $WScript->Echo("Hello World!");
    </script>
</job>

 

and I get this:

 

Faulting application WScript.exe, version 5.7.0.18005, time stamp 0x49e01e60, faulting module php5ts.dll, version 5.3.5.0, time stamp 0x4d24d421, exception code 0xc0000005, fault offset 0x000915f5, process id 0xa0c, application start time 0x01cbdc073a834083.

Here's what I have done.

 

 

Any thoughts?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.