<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><FONT face=Arial
color=#0000ff size=2>Thanks so mucht for this information!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><FONT face=Arial
color=#0000ff size=2>I had to make the folowing changes as
well:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><FONT face=Arial
color=#0000ff size=2>Set the Compile with common language runtime to: No common
language runtime support for each .h file </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><FONT face=Arial
color=#0000ff size=2>If I do that, the error: Command line error D8045: cannot
compile C file 'src\client.c' with the /clr option
disappears</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><FONT face=Arial
color=#0000ff size=2>(Next I got an error in the resouce.rc file with the LTEXT
VERSION... So I // that out)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff size=2>Next I get about
121 errors, like:</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff size=2>Error LNK2001:
unresolved external symbol _main</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff size=2>... symbol
_num_clients</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff
size=2>etc.</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff size=2>Any
ideas?</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff size=2>Kind
regards,</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=209305807-14112008><SPAN
class=209305807-14112008><FONT face=Arial color=#0000ff
size=2>Reinier</FONT></SPAN></SPAN></DIV><FONT face=Arial color=#0000ff
size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> DMILE525 [mailto:dmile525@gmail.com]
<BR><B>Sent:</B> donderdag 13 november 2008 23:23<BR><B>To:</B> Reinier van der
Gugten<BR><B>Subject:</B> Re: [stunnel-users] Help - Getting stunnel compiled on
windows and using a patch<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>on Windows:<BR>install <FONT face="Times New Roman"
size=3>Win32 OpenSSL <A
title="http://www.slproweb.com/products/Win32OpenSSL.html
CTRL + Click to follow link"
href="wlmailhtml:{86BCE398-B6B8-40AD-8A3D-BE759753A203}mid://00000009/!x-usc:http://www.slproweb.com/products/Win32OpenSSL.html">http://www.slproweb.com/products/Win32OpenSSL.html</A><BR>install
VS2008 (I'm using free VS2008 C++ Express Edition <A
title="http://www.microsoft.com/express/download/
CTRL + Click to follow link"
href="wlmailhtml:{86BCE398-B6B8-40AD-8A3D-BE759753A203}mid://00000009/!x-usc:http://www.microsoft.com/express/download/">http://www.microsoft.com/express/download/</A>)<BR><BR>The
first thing to do (assuming a default installation of 'C:\OpenSSL') is to go to
'C:\OpenSSL\lib\VC' and copy all of the files to your Visual C++ 'lib'
directory. This directory is sometimes located in a somewhat cryptic location
such as 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib' or
'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib'.<BR><BR>Next, copy
everything in the 'C:\OpenSSL\include' directory to your Visual C++ 'include'
directory.<BR></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>create new empty project</FONT></DIV>
<DIV><FONT face=Arial size=2>add to project:<BR><SPAN lang=RU>stunnel.c ssl.c
ctx.c verify.c file.c client.c protocol.c sthreads.c log.c options.c network.c
resolver.c gui.c </SPAN> <BR>common.h prototypes.h</FONT> <FONT
face=Arial size=2>resources.h</FONT> <FONT face=Arial size=2>stunnel.ico
resources.rc</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>"Configuration properties -> Linker -> input
-> additional properties" add wsock32.lib ssleay32.lib
libeay32.lib</FONT></DIV>
<DIV>"Configuration properties -> General -> character set" set "Use
Multi-Byte Character Set"<BR></DIV>
<DIV><FONT face=Arial size=2>in common.h after <BR></FONT></DIV>
<DIV><FONT face=Arial size=2>#ifndef COMMON_H<BR>#define COMMON_H</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>add<BR><BR>#define USE_WIN32</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#define _CRT_SECURE_NO_DEPRECATE<BR>#define
_CRT_NONSTDC_NO_DEPRECATE<BR>//#define HAVE_GETADDRINFO<BR>//#define
HAVE_GETNAMEINFO<BR>#ifndef _MBCS<BR>#define _MBCS<BR>#endif</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>#define VERSION "4.26"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>#if defined _M_IX86<BR>#pragma comment(linker,
"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls'
version='<A href="http://6.0.0.0">6.0.0.0</A>' processorArchitecture='x86'
publicKeyToken='6595b64144ccf1df' language='*'\"")<BR>#elif defined
_M_IA64<BR>#pragma comment(linker, "/manifestdependency:\"type='win32'
name='Microsoft.Windows.Common-Controls' version='<A
href="http://6.0.0.0">6.0.0.0</A>' processorArchitecture='ia64'
publicKeyToken='6595b64144ccf1df' language='*'\"")<BR>#elif defined
_M_X64<BR>#pragma comment(linker, "/manifestdependency:\"type='win32'
name='Microsoft.Windows.Common-Controls' version='<A
href="http://6.0.0.0">6.0.0.0</A>' processorArchitecture='amd64'
publicKeyToken='6595b64144ccf1df' language='*'\"")<BR>#else<BR>#pragma
comment(linker, "/manifestdependency:\"type='win32'
name='Microsoft.Windows.Common-Controls' version='<A
href="http://6.0.0.0">6.0.0.0</A>' processorArchitecture='*'
publicKeyToken='6595b64144ccf1df'
language='*'\"")<BR>#endif</FONT><BR><BR></DIV>
<DIV class=gmail_quote>On Wed, Nov 12, 2008 at 6:50 PM, Reinier van der Gugten
<SPAN dir=ltr><info@rgit.eu></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Hello,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>I am
trying to compile STunnel. I'd rather not, but the pre-compiled version does
not support a proxy server. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>So I hop
you will be able to help me, or point me to a good howto on how to compile
stunnel using windows and a patch from the patch-list. Or does someone have a
compiled (windows) version with proxy support? If so, please mail it to
me.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Or tell me
where to find more detailed information pls. - Next thing I will try is to
install linux on a computer in order to try it that way...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Greetings,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Reinier.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV></DIV><BR>_______________________________________________<BR>stunnel-users
mailing list<BR><A
href="mailto:stunnel-users@mirt.net">stunnel-users@mirt.net</A><BR><A
href="http://stunnel.mirt.net/mailman/listinfo/stunnel-users"
target=_blank>http://stunnel.mirt.net/mailman/listinfo/stunnel-users</A><BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>