Hello Noel,

You may as well try to find a way to workaround this problem for your
platform, instead of just removing the offending code (which may break
other things) ...

This is taken from the MSDN library description of
CreateToolhelp32Snapshot():

  Windows NT/2000/XP: Included in Windows 2000 and later.
  Windows 95/98/Me: Included in Windows 95 and later.
  Header: Declared in Tlhelp32.h.
  Library: Use Kernel32.lib.

Ok so it is not in WinNT 4... but take a look on this thread from the
cygwin mailing list:

http://www.cygwin.com/ml/cygwin/2002-05/msg01731.html

This is a direct link to a message which might help you. You can read
the whole thread if interested.

Tuesday, May 28, 2002, 6:49:31 PM, you wrote:

NBK> We've made a Windows app with OpenSSL-0.9.6c but it fails to run on NT4.
NBK> The problem:

NBK>     "The procedure entry point CreateToolhelp32Snapshot could not be located
NBK> in the dynamic link library KERNEL32.dll"

NBK> Grepping through the source reveals that the only calls to
NBK> CreateToolhelp32Snapshot are in openssl-0.9.6c/crypto/rand/rand_win.c.

NBK> Has anyone else faced this problem?  I'm going to cut out
NBK> CreateToolhelp32Snapshot and post a patch.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to