T
t0x3e8
Hello
I load an external library written in Delphi (I don't have any source
code of this lib). I do it in this way:
[System.Runtime.InteropServices.DllImport("myLib.dll",
EntryPoint="externalMethod")]
public static extern bool userExist(string userName, string password);
Next I launch freely the userExist method and everything works fine. I
mean that the method returns the correct results.I able to run this
method couple times any is no problem with execution. But when I close
the program I get 2 errors.
1. "Unknown exception code (0x0eedfade) occurred at 0x7c81eb33."
2. "Runtime error 217 at 00009DF8"
Second message appears when I click Ok on the first error. I tied to
catch this exception on method level and whole application (by using
try-catch on Application.Run). Unfortunately nothing helps and the
messages still appears. Is it possible to switch off showing errors
from external libraries or maybe is possible to release the external
methods during run time.
Thank you for your help
I load an external library written in Delphi (I don't have any source
code of this lib). I do it in this way:
[System.Runtime.InteropServices.DllImport("myLib.dll",
EntryPoint="externalMethod")]
public static extern bool userExist(string userName, string password);
Next I launch freely the userExist method and everything works fine. I
mean that the method returns the correct results.I able to run this
method couple times any is no problem with execution. But when I close
the program I get 2 errors.
1. "Unknown exception code (0x0eedfade) occurred at 0x7c81eb33."
2. "Runtime error 217 at 00009DF8"
Second message appears when I click Ok on the first error. I tied to
catch this exception on method level and whole application (by using
try-catch on Application.Run). Unfortunately nothing helps and the
messages still appears. Is it possible to switch off showing errors
from external libraries or maybe is possible to release the external
methods during run time.
Thank you for your help