Results 1 to 2 of 2

Thread: Self registering dll fails on Win98/NTsp6

  1. #1
    Join Date
    Mar 2002
    Location
    San Jose, CA, USA
    Posts
    101

    Self registering dll fails on Win98/NTsp6

    Hi,
    I have a file which self-registers during install (yes, I know this is not the recommended method but this is OUR preferred way) and it works fine on Win2000 & XP but fails on Win98 and WinNT sp6

    "Error 1094.Modul D:\Program Files\<Comp name>\<product name>\<Sub Component>FileName.dll failed to register. HRESULT -2147024770. Contact your support personnel."

    Any clues on this?

    THanks,
    Rob

  2. #2
    Join Date
    Mar 2002
    Location
    San Jose, CA, USA
    Posts
    101
    I have figured out what was happening. Thanks to IS Tech support replies on here I used dependency walker to find out what other dll's my dll was dependent on. One of which was ATL.DLL which is not part of Win9x, WinME, or WinNT. So when my dll went to self-register it looked in the normal places (cur dir, path) but could not find atl.dll even though I am installing it as well. The folder in which atl.dll was being installed was not part of the search path...so there you go!
    The exact solution is not obvious yet but there are a number of ways to go.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •