[wxPython] Immediate crashes with 2.1.16 or 2.2.0 under Windo ws 95

Echeverria Rabi, Cristian Rodrigo, TRANSELEC S.A. <cer@transelec.cl> writes:

I think the problems is that winsock 2.0 is missing.
Maybe you need to update common controls too.
See the download page at wxPython.org for links to download.

Thanks - I believe it must have been WinSock2 - my co-worker found the
update reference on the wxPython site and things work after he
installed it. Unfortunately, he didn't think to check if he had it
on his system already (e.g., was it completely missing or somehow
just an old version), so I'm not positive about that.

What's sort of ugly though is that there's no clean indication that a
DLL is missing, just a crash. Looking around, I think this is because
in 2.1.16 or later the build process shifted to delay-loading several
DLLs, including the WinSock2 ws2_32.dll file. But delay loading means
you might get a failure during what appears to be a normal function
call, and it doesn't look like wxWindows handles any delay loading
exceptions, so you get a crash instead.

So this is a quasi-pain for distributing the application where I'm not
sure what system the end users may be using. How is anyone else
handling this - do you just warn Win95 users and point them to the
wxPython page, or something else?

-- David

PS: Has anyone else who subscribes to this list in digest mode noticed
the occasional missing digest? I never got a digest with this
response in it, but had to find it on the web archive.

/-----------------------------------------------------------------------\
\ David Bolen \ E-mail: db3l@fitlinxx.com /
  > FitLinxx, Inc. \ Phone: (203) 708-5192 |
/ 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \
\-----------------------------------------------------------------------/