I've had the same problem and discovered the following patch: http://marc.theaimsgroup.com/?l=openssl-dev&m=96923042325868&w=2 The functions are loaded dynamically, so it is necessary to check whether they loaded or not (or your executable will crash on all machines which don't provide the NetStatisticsGet-Function). The patch above includes theses tests which are missing in the plain beta2-tree. Additionally, I couldn't compile with VC60 because LMSTR was an unknown type. I had to replace these definitions by LPWSTR: typedef NET_API_STATUS (NET_API_FUNCTION * NETSTATGET) (LPWSTR, LPWSTR, DWORD, DWORD, LPBYTE*); typedef NET_API_STATUS (NET_API_FUNCTION * NETFREE)(LPBYTE); Regards, David Maurus Lin Geng wrote: > However, the file rand_win.c compiles if you make the following changes: > > 1. comment out the two typedefs > > typedef NET_API_STATUS (NET_API_FUNCTION * NETSTATGET) > (LMSTR, LMSTR, DWORD, DWORD, LPBYTE*); > typedef NET_API_STATUS (NET_API_FUNCTION * NETFREE)(LPBYTE); > > 2. add two defines > > #define NETSTATGET FARPROC > #define NETFREE FARPROC > > The build should go through. > David Maurus __________________________ equinux Aktiengesellschaft Informationstechnologien Gabelsbergerstr. 30 80333 München - Germany Tel. 089/520465-0 Fax. 089/520465-299 mailto:[EMAIL PROTECTED] http://www.equinux.de MyJack - Das innovative Messagingsystem der equinux AG http://www.myjack.de ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]