Runtime Error 48. File not found: xxxx.dll 
Author Message
 Runtime Error 48. File not found: xxxx.dll

I have run into this before, but dang if I can remember how I fixed
it.
I have a copy of the dll in; windows, windows\system, and the
application directory.

Why doesn't it find this dll?  How can I tell it where to find it?  It
is for a bas module for a parallel port encoder.

thanks

Jeridiah



Sun, 14 Dec 2003 04:24:40 GMT  
 Runtime Error 48. File not found: xxxx.dll
What kind if of link library is it and how are you calling it..?

If it's not exported system call, or it's an activex component call than the
dynamic link library may not be self registering, in which case a simple
call to C:\> REGSVR32.EXE "DLLNAME.DLL" [ENTER]  form the command prompt
will register it.    From the feel of your message this doesnt sound like
it's activex but rather an declared call to dll export.  To solve that
problem, simply load your project in VB and select "PROJECTS-->REFERENCES"
from the top drop-down menu.  Once the references window opens than you'll
probably see a line near the top that has the words "MISSING" or you may not
see the DLL your using at all checked.  In either case click the browse
button, select the .DLL, save and that should solve your problem.

Hope this helps,

Good Luck, and Regards,

R.W.


Quote:
> I have run into this before, but dang if I can remember how I fixed
> it.
> I have a copy of the dll in; windows, windows\system, and the
> application directory.

> Why doesn't it find this dll?  How can I tell it where to find it?  It
> is for a bas module for a parallel port encoder.

> thanks

> Jeridiah



Sun, 14 Dec 2003 09:33:40 GMT  
 Runtime Error 48. File not found: xxxx.dll
is the dll "registered" ?

is the path patent?

is the dll library reference statement (declare) correctly formed?
--
best regards,
hapticz

<<<< +++++++++++++++++++++++++++++++++++++ >>>>

|I have run into this before, but dang if I can remember how I fixed
|it.
|I have a copy of the dll in; windows, windows\system, and the
|application directory.
|
|Why doesn't it find this dll?  How can I tell it where to find it?  It
|is for a bas module for a parallel port encoder.
|
|thanks
|
|Jeridiah



Sun, 14 Dec 2003 11:59:50 GMT  
 Runtime Error 48. File not found: xxxx.dll
It may be finding that file, but not one of its dependents, check out the
Microsoft site for DEPENDS.EXE, point it at your DLL and see what other
files it uses.  Check if they are registered.

Hope this helps

--
Richard Allsebrook
Applications and Web Developer
Earlybird Marketing
http://www.earlybirdmarketing.com


Quote:
> I have run into this before, but dang if I can remember how I fixed
> it.
> I have a copy of the dll in; windows, windows\system, and the
> application directory.

> Why doesn't it find this dll?  How can I tell it where to find it?  It
> is for a bas module for a parallel port encoder.

> thanks

> Jeridiah



Sun, 14 Dec 2003 19:51:26 GMT  
 Runtime Error 48. File not found: xxxx.dll
Quote:
> call to C:\> REGSVR32.EXE "DLLNAME.DLL" [ENTER]  form the command prompt

I tried this. Returns this error...

Load Library "c:\...\ad6drv.dll" failed
GetLastError returns 0x00000485

Quote:
> problem, simply load your project in VB and select "PROJECTS-->REFERENCES"
> from the top drop-down menu.  Once the references window opens than you'll
> probably see a line near the top that has the words "MISSING" or you may not
> see the DLL your using at all checked.  In either case click the browse
> button, select the .DLL, save and that should solve your problem.

I had already tried this.  It tells me "can't add a reference to the
specified file"

A little more background on this problem.  I am moving a project from
one computer to a new one.  Everything works fine on the other
computer.  I have done everything that I think I did on the other one
to get this to work, but it doesn't, so I missed something.  I
installed the package that includes the ad6drv.dll(didn't just copy
the folder, did a real install).  I only copied the project folder
from my other computer to this one.

I hope some of this helps...

Thanks so far guys



Sun, 14 Dec 2003 20:36:49 GMT  
 Runtime Error 48. File not found: xxxx.dll
Exactly ! - if it is a 'real' DLL and not one of thos Microsoft COM
objects masquerading under a DLL extension then it *does* *not* need
registering - and *cannot* be registered.

The chances are that it needs some dependant 'real' DLL

You can test for it being there and found by using the LoadLibrary API

If the worst comes to the worst you can peer at the DLL in a text
editor and maybe find what other DLL it wants.

On Wed, 27 Jun 2001 12:51:26 +0100, "Richard Allsebrook"

Quote:

>It may be finding that file, but not one of its dependents, check out the
>Microsoft site for DEPENDS.EXE, point it at your DLL and see what other
>files it uses.  Check if they are registered.

>Hope this helps

>--
>Richard Allsebrook
>Applications and Web Developer
>Earlybird Marketing
>http://www.earlybirdmarketing.com



>> I have run into this before, but dang if I can remember how I fixed
>> it.
>> I have a copy of the dll in; windows, windows\system, and the
>> application directory.

>> Why doesn't it find this dll?  How can I tell it where to find it?  It
>> is for a bas module for a parallel port encoder.

>> thanks

>> Jeridiah



Sun, 14 Dec 2003 22:02:02 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. runtime error 48 xxxx.dll not found

2. Error 48 file not found CRPE.DLL

3. Help: Run-time error '48': File not found: Cards.dll (0/1)

4. Help: Run-time error '48': File not found: Cards.dll (1/1)

5. Error # 48 Dll not found error

6. Error '48' DLL not found

7. Error '48' DLL not found

8. Run-time error 48: File not found: Kernel

9. VB 6.0 run-time error 48 - File not found: Kernel

10. Run-time error '48': File not found

11. runtime error 48 error loading DLL

12. Runtime error 48 - error loading .DLL

 

 
Powered by phpBB® Forum Software