Hi, 
   To answer your question, the exe file is written in C and creates several 
output files that calculates various variables based on the user input (which 
the PHP handles). 
    What I am surprised about is that when I run the exe file by itself, there 
is no error at all. However, once I use PHP to "call" the file, it does not 
crash, but I have to click No when it executes to allow the program to proceed. 
I tried to follow the instructions from the document in the url below, but I 
could not find the files, and I was not sure if that really is the cause of the 
interruptions of my program. 
    Does this give you more information in helping me solve my problem?

Thanks in advance.

Alice
> CC: php-windows@lists.php.net
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Fri, 31 Oct 2008 12:35:43 +0000
> Subject: Re: [PHP-WIN] An Unhandled Win32 Exception Occurred When Executing 
> PHP From Windows
> 
> On 31 Oct 2008, at 12:25, Alice Wei wrote:
> >  I have been looking around for documents on http:// 
> > www.microsoft.com on the generation of win32 exception errors, but I  
> > am not exactly sure what
> > steps I should take when the debugger is triggered by either a  
> > Shockwave file application, or from an HTTP Request.
> >
> > Here is the code snippet:
> >
> >  //execute program
> >  shell_exec("C:\Inetpub\wwwroot\incidence\my-manager.exe -d$date -p 
> > $event");
> >
> >
> > When I run the code as embedded in PHP, I see a pop up window with  
> > the following words: An unhandled win32 exception occurred in my- 
> > manager.exe [2372].
> > However, when I only run the application using cmd, it does not give  
> > me any errors.
> >
> >  Is there something I should try that I have not?
> 
> This is almost certainly due to something that exe file is trying to  
> use and nothing at all to do with PHP. What does my-manager.exe do?
> 
> -Stut
> 
> -- 
> http://stut.net/
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

_________________________________________________________________
Express yourself with gadgets on Windows Live Spaces
http://discoverspaces.live.com?source=hmtag1&loc=us

Reply via email to