Sorry, I didn't reply to all.

-- 
Christina Carkner
Software Engineer
NuSphere - Seriously Open Software
http://www.nusphere.com


No, the statement handle is created and attempted to be executed in the
parent.  There is no interaction between the child and the parent other
than the forking.

"Sterin, Ilya" wrote:
> 
> Are you trying to execute a statement handle that was created in the child
> process?  If yes, you can't do that since forking, unlike threads does not
> share it's variables, but rather creates a copy of itself and then the child
> process is on it's own.
> 
> Ilya Sterin
> 
> -----Original Message-----
> From: Christina Carkner
> To: [EMAIL PROTECTED]
> Sent: 06/04/2001 8:14 AM
> Subject: MySQL DBI on Windows problem
> 
> Hi,
> 
> I'm having a problem on Windows 2k where I have a pair of scripts where
> the parent forks off a few processes (a second perl script) which does
> some database input for a period of time, and then returns to the
> parent.  Upon the return to the parent however, I can no longer do a
> $sth->execute() call.  When I attempt to do so, it hangs and I get no
> error messages.
> 
> Trying to run the same scripts on Windows ME with the same perl
> installation I get the following error in a dialog box:
> 
> Perl has caused an error in MSVCRT.DLL. Perl will now close.
> 
> That file contains the runtime libraries for Visual C++.  I have been
> told that the DLL causes a lot of problems if changed because a lot of
> programs depend on bugs in older versions and others depend on the bugs
> being fixed in newer versions, so this might be a problem where it
> depends on what version of this .dll the perl.exe file was built
> against.
> 
> I have tried to run this through the perl debugger, but it has problems
> with the fork in the parent script and I'm not sure what to do to
> resolve this issue.
> 
> Any help would be greatly appreciated.
> 
> Thanks in advance,
> --
> Christina Carkner
> Software Engineer
> NuSphere - Seriously Open Software
> http://www.nusphere.com

-- 
Christina Carkner
Software Engineer
NuSphere - Seriously Open Software
http://www.nusphere.com


Reply via email to