dll works fine in all Windows except Server 2016

Brian Wells 1 Reputation point
2022-07-07T13:45:41.537+00:00

Legacy app which installs fine from Win95 through Win11. However, on Server 2016 a particular dll will not load or initialize. Application written in Borland C++ but the dll is C. Looking for answers that does not force us to rewrite code.

Any assistance is greatly appreciated.
Brian

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,857 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,811 Reputation points
    2022-07-11T15:00:26.573+00:00

    Hi there,

    Check for a .NET assembly dependency walker and check the DLL. You need to run this check on the server with the issue.

    Try to collect some logs so it would be easier to identify the backend of the issue. Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry, and process/thread activity. You can get the tool from here https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

    How to correct common User32.dll file errors

    https://support.microsoft.com/en-us/topic/how-to-correct-common-user32-dll-file-errors-3b34cc67-5741-ce2b-cc7d-86d5410f44f4

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.