http://www.perlmonks.org?node_id=1083756


in reply to Re^13: Strawberry Perl 64bit on Win7 crashes on DBI-function
in thread Strawberry Perl 64bit on Win7 crashes on DBI-function

"-Ic:\C:\strawberry\DBD-ODBC-1.49_1\blib\lib" looks wrong. It shouldn't be "c:\C" as it does not match the other path on the cmd line.

  • Comment on Re^14: Strawberry Perl 64bit on Win7 crashes on DBI-function

Replies are listed 'Best First'.
Re^15: Strawberry Perl 64bit on Win7 crashes on DBI-function
by theman824 (Novice) on Apr 25, 2014 at 08:37 UTC
    Oh, I'm so sorry. You're right, how did i miss that. With that corrected it now runs through without crashing! Looks great. Will test further.

      That is good news and thanks for sticking with it until we found a solution. All I changed in the original code was to stop putting the DSN scalars on the stack and allocate them instead (the rest of the code is identical). I didn't write that code but I was always suspicious as Windows is known for having a small stack.

      I will release this fix as 1.49_1 development release. It may have a few other changes from the one I sent you and in any case I didn't update the Changes file in the one I sent you.

        No, no, thank YOU. This is great and very quick.

        If it will go to a final new version i will install that when it comes out. For now i put the 1.49_1 in my "normal" perl environment at my own risk.

        Sorry for using windows, i don't have a choice at work... ;-)