| Hello,
I unfortunately still have problems with compiling
WinHTTrack. So far I did the following:
- I've reinstalled WinHTTrack (to have a fresh copy)
- I've copied the contents of \WinHTTrack\src to
\WinHTTrack\src_win
- I've created a new folder "\WinHTTrack\src_win\openssl"
and placed the OpenSSL-sourcefiles there.
- I've copied the two files "tpipv6.h" and "wspiapi.h" of
the Microsoft IPv6Kit to \WinHTTrack\src_win (I'm not able
to install this IPv6Kit with the setup.exe since I've
neither Visual C++ 6.0 nor Windows 2000).
- In the file "htsbasenet.h" I've changed the line
#include <tpipv6.h>
to
#include "tpipv6.h"
to tell the compiler that the file "tpipv6.h" is now in the
same directory as the ".c" is.
- I tried to start the compilation-process.
Now I still get Errors which look like these:
WinHTTrack.cpp
c:\WinHTTrack\src_win\WinHTTrack\WinHTTrack.cpp(128) : error
C2440: 'static_cast' : 'BOOL (__thiscall CWinHTTrackApp::*
)(void)' kann nicht in 'AFX_PMSG' konvertiert werden
Keine Funktion mit diesem Namen im
Gültigkeitsbereich stimmt mit dem Zieltyp ueberein
InfoUrl.cpp
c:\WinHTTrack\src_win\WinHTTrack\InfoUrl.cpp(195) : error
C2059: Syntaxfehler : 'leere Deklaration'
HtmlCtrl.cpp
c:\WinHTTrack\src_win\WinHTTrack\HtmlCtrl.cpp(56) : error
C2248: "ATL::_NoAddRefReleaseOnCComPtr<T>::Release" : Kein
Zugriff auf private Element, dessen Deklaration in der
Klasse "ATL::_NoAddRefReleaseOnCComPtr<T>" erfolgte
with
[
T=IWebBrowser2
]
and
[
T=IWebBrowser2
]
C:\Programme\Microsoft Visual Studio
.NET\Vc7\atlmfc\include\atlcomcli.h(75) : Siehe Deklaration
von 'ATL::_NoAddRefReleaseOnCComPtr<T>::Release'
with
[
T=IWebBrowser2
]
inprogress.cpp
c:\WinHTTrack\src_win\WinHTTrack\inprogress.cpp(1013): error
C2065: 'hts_is_exiting' : nichtdeklarierter Bezeichner
I get much more of this errors.
Perhaps someone can tell me what I'm doing wrong. As you
told in your warning.txt the WinHTTrack-source is very bad
documented, so I really don't want to try to find out why I
get this errors on my own.
Is it possible that it's simply impossible to compile
WinHTTrack with VC.NET?
Thanks
Manuel | |