Board index » delphi » Accessing DLL?

Accessing DLL?

I've written what should be a fairly simple unit to access the WINSOCK.DLL.
Other applications access it many times on my system, and it's identical to
the installation copy so it's not corrupt (this is on Windows 95).  But when
I run the program that uses this unit, I get an error message saying `The
DLL C:\WINDOWS\SYSTEM\WINSOCK.DLL appears to be corrupt.  Please reinstall
the file and try your program again.'

What might be causing this?  Any pointers?

Thanks,
Chad

--------------------------[ Chad Robinson (Task) ]----------------------------
Senior Systems Analyst                  ch...@brttech.com
BRT Technical Services Corporation      http://www.brttech.com/
------------------------------------------------------------------------------

 

Re:Accessing DLL?


Quote
ch...@brttech.com (Chad Robinson) wrote:
>I've written what should be a fairly simple unit to access the WINSOCK.DLL.
>Other applications access it many times on my system, and it's identical to
>the installation copy so it's not corrupt (this is on Windows 95).  But when
>I run the program that uses this unit, I get an error message saying `The
>DLL C:\WINDOWS\SYSTEM\WINSOCK.DLL appears to be corrupt.  Please reinstall
>the file and try your program again.'
>What might be causing this?  Any pointers?

Are you using Delphi 1 or Delphi 2.
Delphi 1 ==> I have no idea
Delphi 2 ==> use WSOCK32.DLL instead (this is the 32-bit variation)

Hope this helps
Meik Weber
m.we...@public.ndh.com
100744.3...@compuserve.com

Other Threads