File not found using an external DLL file 
Author Message
 File not found using an external DLL file

Hi. I'm new with VB.
I' m building al app in VB5 (WinNT 4.0).
I need to interface it with an external not windows SECLINK.DLL file.
Something like that:
Declare Function OSL_MakeServer Lib "seclink.dll" (server As Variant, err As
Integer, protocol As String, host As String, port As Integer, path As
String)

Unfortunately, when I run the software, I see the error message:
Run-time error '53'
File not found: seclink.dll

I' ve stored the SECLINK.DLL in:
- the same directory of the VB project,
- c:\winnt,
- c:\winnt\system32
and I tryed to declare the full path of my DLL, but no solution seems to
solve my problem!

May anyone help me ?

Thanks
Stefania Marchisio



Fri, 04 Aug 2000 03:00:00 GMT  
 File not found using an external DLL file

Try putting the full path to the DLL in the declare (Lib
"C:\SomeDir\SECLINK.DLL" (...), or put the DLL in a directory where Windows
will do looking (C:\Windows or C:\Windows\System).
Regards
--Vic--

Quote:

>Hi. I'm new with VB.
>I' m building al app in VB5 (WinNT 4.0).
>I need to interface it with an external not windows SECLINK.DLL file.
>Something like that:
>Declare Function OSL_MakeServer Lib "seclink.dll" (server As Variant, err
As
>Integer, protocol As String, host As String, port As Integer, path As
>String)

>Unfortunately, when I run the software, I see the error message:
>Run-time error '53'
>File not found: seclink.dll

>I' ve stored the SECLINK.DLL in:
>- the same directory of the VB project,
>- c:\winnt,
>- c:\winnt\system32
>and I tryed to declare the full path of my DLL, but no solution seems to
>solve my problem!

>May anyone help me ?

>Thanks
>Stefania Marchisio



Fri, 04 Aug 2000 03:00:00 GMT  
 File not found using an external DLL file

Oopsies. I should have read your post in its entirety before responding.
Sorry
--Vic--

Quote:

>Hi. I'm new with VB.
>I' m building al app in VB5 (WinNT 4.0).
>I need to interface it with an external not windows SECLINK.DLL file.
>Something like that:
>Declare Function OSL_MakeServer Lib "seclink.dll" (server As Variant, err
As
>Integer, protocol As String, host As String, port As Integer, path As
>String)

>Unfortunately, when I run the software, I see the error message:
>Run-time error '53'
>File not found: seclink.dll

>I' ve stored the SECLINK.DLL in:
>- the same directory of the VB project,
>- c:\winnt,
>- c:\winnt\system32
>and I tryed to declare the full path of my DLL, but no solution seems to
>solve my problem!

>May anyone help me ?

>Thanks
>Stefania Marchisio



Fri, 04 Aug 2000 03:00:00 GMT  
 File not found using an external DLL file

Don't know if this will help.  Your declare is wrong.  You have:

Quote:
>Declare Function OSL_MakeServer Lib "seclink.dll" (server As Variant, err
As
>Integer, protocol As String, host As String, port As Integer, path As
>String)

It should either be:  Declare Function ...() as Long   (you need to declare
the type of the return value)
or :  Declare Sub ...()  (no return for  a sub.

--
John von Colditz
Ki Software Corporation

(503) 639-9138

Quote:

>I need to interface it with an external not windows SECLINK.DLL file.
>Declare Function OSL_MakeServer Lib "seclink.dll" (server As Variant, err
As
>Integer, protocol As String, host As String, port As Integer, path As
>String)

>Unfortunately, when I run the software, I see the error message:
>Run-time error '53'
>File not found: seclink.dll



Fri, 04 Aug 2000 03:00:00 GMT  
 File not found using an external DLL file

Try to open the dll in notepad and see if it requires any other files, they
vill be visible as plain text
Maybe you get the missing file message from some third file referenced by
the original dll.

############################################
# Niels Andersen
# http://users.{*filter*}city.dk/~dko2897/

# to respond directly, remove NOSPAM
############################################



Sat, 05 Aug 2000 03:00:00 GMT  
 File not found using an external DLL file

Quote:

> Hi. I'm new with VB.
> I' m building al app in VB5 (WinNT 4.0).
> I need to interface it with an external not windows SECLINK.DLL file.
> Something like that:
> Declare Function OSL_MakeServer Lib "seclink.dll" (server As Variant, err As
> Integer, protocol As String, host As String, port As Integer, path As
> String)

> Unfortunately, when I run the software, I see the error message:
> Run-time error '53'
> File not found: seclink.dll

> I' ve stored the SECLINK.DLL in:
> - the same directory of the VB project,
> - c:\winnt,
> - c:\winnt\system32
> and I tryed to declare the full path of my DLL, but no solution seems to
> solve my problem!

> May anyone help me ?

> Thanks
> Stefania Marchisio

Check how the file name is actually stored on the directory, I believe
in 16 bit the name is not case sensative but in 32 bit it is. so if it
is on the disk as SECLINK.DLL then seclink.dll wouldn't not find it.


Sat, 05 Aug 2000 03:00:00 GMT  
 File not found using an external DLL file

Thanks the one has answered me.
Now it works properly.
I registered the dll and everything has come ok.
Who knows why I needed to register it !
Bye, bye
Stefania

Quote:

>Try to open the dll in notepad and see if it requires any other files, they
>vill be visible as plain text
>Maybe you get the missing file message from some third file referenced by
>the original dll.

>############################################
># Niels Andersen
># http://users.{*filter*}city.dk/~dko2897/

># to respond directly, remove NOSPAM
>############################################



Mon, 07 Aug 2000 03:00:00 GMT  
 File not found using an external DLL file

RegSVR and RegSVR are the 95 executable...NT may be different...
  Use it to register DLL's etc that are present but not properly registered...

Quote:

> Hi. I'm new with VB.
> I' m building al app in VB5 (WinNT 4.0).
> I need to interface it with an external not windows SECLINK.DLL file.
> Something like that:
> Declare Function OSL_MakeServer Lib "seclink.dll" (server As Variant, err As
> Integer, protocol As String, host As String, port As Integer, path As
> String)

> Unfortunately, when I run the software, I see the error message:
> Run-time error '53'
> File not found: seclink.dll

> I' ve stored the SECLINK.DLL in:
> - the same directory of the VB project,
> - c:\winnt,
> - c:\winnt\system32
> and I tryed to declare the full path of my DLL, but no solution seems to
> solve my problem!

> May anyone help me ?

> Thanks
> Stefania Marchisio



Tue, 08 Aug 2000 03:00:00 GMT  
 
 [ 8 post ] 

 Relevant Pages 

1. error 53 (file not found) with external DLLs called from COM or EXE

2. Problems building install file - AutPrx32.dll, AutMgr32.dll, RACMGR32.dll, CLIREG32.exe NOT FOUND

3. File not Found Error - DLL File

4. Calling a DLL gives "File Not Found", but File Exists

5. File not found: VBA6.dll

6. File not found: vba5.dll error in distributed app

7. At wits end - File not found: VBA6.DLL

8. "File not found:VBA6.DLL"

9. VB4.0 DLL file not found ????

10. DLL File not Found Problem

11. dll file not found?

12. Runtime Error 48. File not found: xxxx.dll

 

 
Powered by phpBB® Forum Software