Hello All,

There is a piece of software I need for work that I am having trouble running. When I try to run the program, I get the error:

Can't load 'C:/demeter/perl/site/lib/auto/Ifeffit/Ifeffit.dll' for module Ifeffit: load_file:Invalid access to memory location at C:/demeter/perl/lib/DynaLoader.pm line 190. at (eval 18) line 1.

I can run it on my home computer and there is a large user community that doesn't have any trouble running the software, but it will not run on my work computer or anyone others in the office (all Windows 7 using Strawberry Perl). This make it seem like the problem is due to a conflict with some restrictive security or monitoring software or setting on the computer.

The program does run in safe mode, so all the parts are on the computer, but not in any other mode or configuration (admin mode / no antivirus / no firewall etc.). The .dll file is definitely in the location listed and if I remove it or use an older version, it gives a different error. I've also tried using XSLoader instead of DynaLoader, but get the same result substituting XSLoader for DynaLoader.

Does anyone know what could cause a conflict like this? Or if there is a way around it?

Thanks, Matt

In reply to Invalid Access to Memory location using DynaLoader by MattN

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.