Registering a DLL - Microsoft Windows

This is a discussion on Registering a DLL - Microsoft Windows ; I downloaded a program that was developed in Borland Delphi (I'm not sure the version #), that has among other things a DLL file that I want to incorporate in a tool that we currently use. If the dll is ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Registering a DLL

  1. Registering a DLL

    I downloaded a program that was developed in Borland Delphi (I'm not
    sure the version #), that has among other things a DLL file that I want
    to incorporate in a tool that we currently use. If the dll is an
    ActiveX control, the tool we are using will recognize the controls that
    are registered on your system, and allow the user to use them to build
    a GUI. I go to try to register the dll and it it fails to register,
    with the message:

    Osc_DLL.DLL was loaded, but the DllRegister Server entry point was not
    found. This file can not be registered.

    I have dependency walker (www.dependencywalker.com) on my system and
    when I run regsvr32 in DW and use profiling to try to register the DLL,
    I get the following error messages:

    GetProcAddress(0x00000000, "CtfImmCoUninitialize") called from
    "MSCTF.DLL" at address 0x7472279F and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "CtfImmLastEnabledWndDestroy") called from
    "MSCTF.DLL" at address 0x747227DC and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "CtfImmSetCiceroStartInThread") called from
    "MSCTF.DLL" at address 0x7472281F and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "CtfImmIsCiceroStartedInThread") called from

    "MSCTF.DLL" at address 0x74722864 and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "CtfImmIsCiceroEnabled") called from
    "MSCTF.DLL" at address 0x747228A9 and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "CtfImmIsTextFrameServiceDisabled") called
    from "MSCTF.DLL" at address 0x747228E5 and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "CtfImmEnterCoInitCountSkipMode") called
    from "MSCTF.DLL" at address 0x7472292C and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "CtfImmLeaveCoInitCountSkipMode") called
    from "MSCTF.DLL" at address 0x74722972 and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "ImmGetDefaultIMEWnd") called from
    "MSCTF.DLL" at address 0x747229B6 and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "ImmReleaseContext") called from "MSCTF.DLL"

    at address 0x747229EF and returned NULL. Error: The specified procedure

    could not be found (127).
    GetProcAddress(0x00000000, "ImmNotifyIME") called from "MSCTF.DLL" at
    address 0x74722A29 and returned NULL. Error: The specified procedure
    could not be found (127).
    GetProcAddress(0x00000000, "ImmSetConversionStatus") called from
    "MSCTF.DLL" at address 0x74722A5C and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "ImmGetConversionStatus") called from
    "MSCTF.DLL" at address 0x74722A9A and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "ImmGetProperty") called from "MSCTF.DLL" at

    address 0x74722AD6 and returned NULL. Error: The specified procedure
    could not be found (127).
    GetProcAddress(0x00000000, "ImmGetOpenStatus") called from "MSCTF.DLL"
    at address 0x74722B0A and returned NULL. Error: The specified procedure

    could not be found (127).
    GetProcAddress(0x00000000, "ImmGetContext") called from "MSCTF.DLL" at
    address 0x74722B40 and returned NULL. Error: The specified procedure
    could not be found (127).
    GetProcAddress(0x00000000, "ImmSetOpenStatus") called from "MSCTF.DLL"
    at address 0x74722B75 and returned NULL. Error: The specified procedure

    could not be found (127).
    GetProcAddress(0x00000000, "ImmInstallIMEA") called from "MSCTF.DLL" at

    address 0x74722BAC and returned NULL. Error: The specified procedure
    could not be found (127).
    GetProcAddress(0x00000000, "ImmGetDescriptionA") called from
    "MSCTF.DLL" at address 0x74722BE2 and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "ImmGetDescriptionW") called from
    "MSCTF.DLL" at address 0x74722C1A and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "ImmGetIMEFileNameA") called from
    "MSCTF.DLL" at address 0x74722C52 and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "ImmGetIMEFileNameW") called from
    "MSCTF.DLL" at address 0x74722C8A and returned NULL. Error: The
    specified procedure could not be found (127).
    GetProcAddress(0x00000000, "ImmSetHotKey") called from "MSCTF.DLL" at
    address 0x74723168 and returned NULL. Error: The specified procedure
    could not be found (127).


    MSCTF.DLL is on my system and is registered. Any Ideas what could be
    causing this. I'm working on a Windows XP system (although I tried it
    on a Windows 2K system, and it came up with a similar error). Any help
    would be appreciated. Thanks...


  2. Re: Registering a DLL

    Dear Matthew!
    Osc_DLL.DLL is a classic dynamic-link library for Win32 and
    it has the rights to be not an ActiveX type.
    The real-time software oscilloscope GUI DLL published
    on http://www.oscilloscope-lib.com
    has lot of examples of using in the MS Visual C++, Visual Basic,
    Borland Delphi / C++Builder and MathWorks Matlab / Simulink +
    exhaustive documentation.
    No one of these examples requires calling to "DllRegister Server entry
    point"!
    Why absence of "DllRegister Server entry point" does distress you?
    You can dynamically load this DLL into your application, initialize
    pointers
    to functions (entry points) of the library and use these functions
    inside your
    program as your own. Arguments and results of these functions have very
    simple
    types - integers and doubles.
    I insist that the fact of creating of Osc_DLL.DLL in the Borland Delphi
    7 does not
    make it as some non-standard.



    On Nov 2, 2:20 pm, matthew.men...@navy.mil wrote:
    > I downloaded a program that was developed in Borland Delphi (I'm not
    > sure the version #), that has among other things a DLL file that I want
    > to incorporate in a tool that we currently use. If the dll is an
    > ActiveX control, the tool we are using will recognize the controls that
    > are registered on your system, and allow the user to use them to build
    > a GUI. I go to try to register the dll and it it fails to register,
    > with the message:
    >
    > Osc_DLL.DLL was loaded, but the DllRegister Server entry point was not
    > found. This file can not be registered.
    >
    > I have dependency walker (www.dependencywalker.com) on my system and
    > when I run regsvr32 in DW and use profiling to try to register the DLL,
    > I get the following error messages:
    >
    > GetProcAddress(0x00000000, "CtfImmCoUninitialize") called from
    > "MSCTF.DLL" at address 0x7472279F and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "CtfImmLastEnabledWndDestroy") called from
    > "MSCTF.DLL" at address 0x747227DC and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "CtfImmSetCiceroStartInThread") called from
    > "MSCTF.DLL" at address 0x7472281F and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "CtfImmIsCiceroStartedInThread") called from
    >
    > "MSCTF.DLL" at address 0x74722864 and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "CtfImmIsCiceroEnabled") called from
    > "MSCTF.DLL" at address 0x747228A9 and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "CtfImmIsTextFrameServiceDisabled") called
    > from "MSCTF.DLL" at address 0x747228E5 and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "CtfImmEnterCoInitCountSkipMode") called
    > from "MSCTF.DLL" at address 0x7472292C and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "CtfImmLeaveCoInitCountSkipMode") called
    > from "MSCTF.DLL" at address 0x74722972 and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetDefaultIMEWnd") called from
    > "MSCTF.DLL" at address 0x747229B6 and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "ImmReleaseContext") called from "MSCTF.DLL"
    >
    > at address 0x747229EF and returned NULL. Error: The specified procedure
    >
    > could not be found (127).
    > GetProcAddress(0x00000000, "ImmNotifyIME") called from "MSCTF.DLL" at
    > address 0x74722A29 and returned NULL. Error: The specified procedure
    > could not be found (127).
    > GetProcAddress(0x00000000, "ImmSetConversionStatus") called from
    > "MSCTF.DLL" at address 0x74722A5C and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetConversionStatus") called from
    > "MSCTF.DLL" at address 0x74722A9A and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetProperty") called from "MSCTF.DLL" at
    >
    > address 0x74722AD6 and returned NULL. Error: The specified procedure
    > could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetOpenStatus") called from "MSCTF.DLL"
    > at address 0x74722B0A and returned NULL. Error: The specified procedure
    >
    > could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetContext") called from "MSCTF.DLL" at
    > address 0x74722B40 and returned NULL. Error: The specified procedure
    > could not be found (127).
    > GetProcAddress(0x00000000, "ImmSetOpenStatus") called from "MSCTF.DLL"
    > at address 0x74722B75 and returned NULL. Error: The specified procedure
    >
    > could not be found (127).
    > GetProcAddress(0x00000000, "ImmInstallIMEA") called from "MSCTF.DLL" at
    >
    > address 0x74722BAC and returned NULL. Error: The specified procedure
    > could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetDescriptionA") called from
    > "MSCTF.DLL" at address 0x74722BE2 and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetDescriptionW") called from
    > "MSCTF.DLL" at address 0x74722C1A and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetIMEFileNameA") called from
    > "MSCTF.DLL" at address 0x74722C52 and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "ImmGetIMEFileNameW") called from
    > "MSCTF.DLL" at address 0x74722C8A and returned NULL. Error: The
    > specified procedure could not be found (127).
    > GetProcAddress(0x00000000, "ImmSetHotKey") called from "MSCTF.DLL" at
    > address 0x74723168 and returned NULL. Error: The specified procedure
    > could not be found (127).
    >
    > MSCTF.DLL is on my system and is registered. Any Ideas what could be
    > causing this. I'm working on a Windows XP system (although I tried it
    > on a Windows 2K system, and it came up with a similar error). Any help
    > would be appreciated. Thanks...



+ Reply to Thread