[EUPHORIA (#1998-39)] Unable to open "Winsock.dll"

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu