1. [EUPHORIA (#1998-39)] Unable to open "Winsock.dll"
- Posted by Jeff Zeitlin <jeff.zeitlin at MAIL.EXECNET.COM>
Jun 26, 1998
-
Last edited Jun 27, 1998
On Fri, 26 Jun 1998 00:00:05 -0400,
=3D?iso-8859-1?Q?JesusC_-_Jes=3DFAs_Consuegra?=3D
<jconsuegra at REDESTB.ES> wrote:
>Hi again!.
>Following with the sockets issue, I'm trying to open the Winsock.dll =
(that
>is in C:\WINDOWS, a 42Kb. file called "winsock.dll").
>At any time I try to open it via
>Include dll.e
>constant Winsock =3D open_dll("Winsock.dll")
>if Winsock =3D NULL then puts("winsock.dll cannot be opened") end if
>I get a "0" error inside Winsock.
>What I'm doing wrong?.
You're opening "winsock.dll".
That's the short form. The long form includes the information
that "Winsock.dll" is a 16-bit DLL; it is a particularly
egregious form of self-abuse to attempt to open a 16-bit DLL if
you're a 32-bit process - and in Euphoria, you are. Try opening
"WSOCK32.DLL" instead.
--
Jeff Zeitlin
jeff.zeitlin at mail.execnet.com
2. Re: [EUPHORIA (#1998-39)] Unable to open "Winsock.dll"
Jeff said:
> That's the short form. The long form includes the information
> that "Winsock.dll" is a 16-bit DLL; it is a particularly
> egregious form of self-abuse to attempt to open a 16-bit DLL if
> you're a 32-bit process - and in Euphoria, you are. Try opening
> "WSOCK32.DLL" instead.
Thanks Jeff. I found Winsock 32 at the Microsoft site.
Now I can open it.
Jesus.