CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Posts
    28

    Error 48 Unable to load dll

    Help

    I had created a program about a year ago that among other things it would create a report and give you the option of previewing it, printing it, or exporting it to Excel.

    Back when I made the program the export to Excel worked fine. Now, when I try the export to Excel function I get an error -

    Error 48 Unable to load dll.

    I have narrowed this error to the statement in code -

    Set XApp = CreateObject("Excel.Application.9")

    I am using Excel 2000 which is Excel9.

    I have researched this error here and at the MSDN site. From what I have learned, I'm guessing is that a dependent dll file has changed or is missing. If that is the case, how do you determine which dll file is causing the problem.

    Thanks in advance
    Last edited by RGregoire; December 8th, 2004 at 11:56 PM.

  2. #2
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    Re: Error 48 Unable to load dll

    you could use the dependancy walker that comes as part of the setup of studio when installing VC++ or you could try just recompiling the code. Also by opening the original project, by looking in the references it may show a missing file.
    If you find my answers helpful, dont forget to rate me

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