CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Com Error

  1. #1
    Join Date
    Mar 1999
    Posts
    8

    Com Error



    Has any one ever seen this error when trying to register a com dll with

    regsvr32


    Load Library("comiface.dll")Failed

    GetLastError returns 0x0000007e


    0x0000007e = The specified module could not be found. This is what error lookup returns


    I can load the com on one machine with no problem but when I try it on another

    I get the error. I'm using WinNT 4.0

    Does the system need to be loaded with something before com will work on

    a machine?


    Thanks for any help



  2. #2
    Join Date
    Apr 1999
    Posts
    24

    Re: Com Error



    Does your COM dll have any dependencies that aren't present on the machine where regsvr32 fails? For example, ATL.DLL???

  3. #3
    Join Date
    Mar 1999
    Posts
    8

    Re: Com Error



    I have atl.dll. Is there any more that you know of or where I can find a list. I'm linking to one of my dlls but it is in the path.

  4. #4
    Join Date
    Apr 1999
    Posts
    24

    Re: Com Error



    There is a command line program with MSVC called dumpbin that displays information about binary executable files. The /imports switch lists all imported functions and modules. With regards to ATL.DLL, it also needs to be registered on the target machine. Good luck!

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured