Announcement

Collapse
No announcement yet.

DLL crash error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DLL crash error

    I have finally managed to get my DLL calls working, I can call the function, and get a correct string return. however I now get a crash from esignal when exiting

    The error is :-

    "Exception EInvalidPointer in module mydll.dll at 00002740"

    I get the same error even if I use different examples of test dlls I have got.

    Anyone seen this before?

    TJ

  • #2
    TJ

    EInvalidPointer is generally raised when you try to free memory that has already been freed (or attempt to free a pointer to a block of memory that was never allocated in the first place). I would suggest that you double-check the code in the DLL.

    Chris

    Comment


    • #3
      Thanks for this Chris, I have forwarded your coments to the developer of the DLL, and he is looking at producing a DLL that does not free memory.

      He has stated that I have to free the instances for the DLLs before I close the application. Anyone know what this means?

      many thanks for your help so far.

      Comment


      • #4
        TJ

        You don't need to worry about explicitly unloading the DLL when you are calling the DLL from within eSignal EFS... that is handled for you automatically.

        Chris

        Comment

        Working...
        X