Appclash (KERNELBASE.DLL) Error when DLL in Delphi tries to show message in Delphi application

Asked

Viewed 1,026 times

1

I have a DLL made in Delphi XE7 that is called by Delphi application also in XE7 version.

This DLL does not need to be registered in Windows.

That when missing some information or when entering a treated exception, the DLL shows a message (Showmessage) to user of what went wrong or missing.

On computers that has Windows XP, 7 and 10 (32 and 64 bit). Even the DLL and application being networked, is showing these messages correctly.

But installing on network in Windows Server 2012 R2, while trying to show these messages is occurring APPCRASH, Kernelbase.dll error.

When there is no need to show any message, the DLL works perfectly.

I did some digging, checked out what access permit issues, if I’m not mistaken. But the DLL does not work when it is necessary to show some message.

Does anyone have any idea how to fix this?

  • I did not understand your question very well, if you can give a review in the text thank you. As for dll, windows has a search order mechanism dll. It is strongly advised that you leave these dlls in the same application folder, and if the problem is regarding permission, run the application as administrator.

  • Summing up; the DLL shows messages to the user, but when the S.O. is Windows Server R2 is giving Appcrash error. And yes, the DLL is in the application folder and runs as administrator.

  • How the dll was declared, and how the calls are being made. This link talks a little bit about it too and a possible solution if it is the same problem.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.