|
|
Home » Community » Newbie corner » Protect and Web
Protect and Web [message #49406] |
Mon, 05 February 2018 21:31  |
idkfa46
Messages: 155 Registered: December 2011
|
Experienced Member |
|
|
Hi guys,
what happening with "Web" package? It seems to be deprecate but I was using it with Protect.
Is there an updated "Protect" version? If I have a look at bazaar I can find:
ProtectServerDemo -> that include ProtectServer
ProtectClientDemo -> that include ProtectClient
The "Protect" package has been splitted into 2 packages? What new?
Is there a quick fix?
Regards,
Matteo
here below the error message:
C:\upp\uppsrc\Web\html.cpp (347): error: ambiguous overload for 'operator+' (operand types are 'Upp::HtmlTag' and 'Upp::Htmls')
(): HtmlCell().Width(left) +
(): HtmlCell().Align(align).Width(width) / html +
C:\upp\uppsrc\Web\html.h (234): note: candidate: Upp::Htmls Upp::operator+(const Upp::HtmlTag&, const char*)
(): Htmls operator+(const HtmlTag& tag, const char *s);
C:\upp/uppsrc/Core/String.h (162): note: candidate: Upp::AString<Upp::String0>::String Upp::operator+(Upp::AString<Upp::String0>::String&&, const tchar*)
(): friend String operator+(String&& a, const tchar *b) { String c(pick(a)); c += b; return c; }
C:\upp/uppsrc/Core/String.h (161): note: candidate: Upp::AString<Upp::String0>::String Upp::operator+(Upp::AString<Upp::String0>::String&&, const String&)
(): friend String operator+(String&& a, const String& b) { String c(pick(a)); c += b; return c; }
C:\upp/uppsrc/Core/String.h (159): note: candidate: Upp::AString<Upp::String0>::String Upp::operator+(const String&, const tchar*)
(): friend String operator+(const String& a, const tchar *b) { String c(a); c += b; return c; }
C:\upp/uppsrc/Core/String.h (158): note: candidate: Upp::AString<Upp::String0>::String Upp::operator+(const String&, const String&)
(): friend String operator+(const String& a, const String& b) { String c(a); c += b; return c; }
C:\upp\uppsrc\Web\auth.cpp (188): error: ambiguous overload for 'operator+' (operand types are 'Upp::Htmls' and 'Upp::HtmlTag')
C:\upp\uppsrc\Web\auth.cpp (190): error: ambiguous overload for 'operator+' (operand types are 'Upp::Htmls' and 'Upp::HtmlTag')
C:\upp\uppsrc\Web\auth.cpp (191): error: ambiguous overload for 'operator+' (operand types are 'Upp::Htmls' and 'Upp::HtmlTag')
C:\upp\uppsrc\Web\auth.cpp (217): error: ambiguous overload for 'operator+' (operand types are 'Upp::Htmls' and 'Upp::HtmlTag')
C:\upp\uppsrc\Web\auth.cpp (219): error: ambiguous overload for 'operator+' (operand types are 'Upp::Htmls' and 'Upp::HtmlTag')
C:\upp\uppsrc\Web\auth.cpp (221): error: ambiguous overload for 'operator+' (operand types are 'Upp::Htmls' and 'Upp::HtmlTag')
C:\upp\uppsrc\Web\smtp.cpp (391): error: no match for 'operator=' (operand types are 'Upp::One<Upp::Stream>' and 'int')
C:\upp\uppsrc\Web\smtp.cpp (391): error: invalid conversion from 'int' to 'Upp::Stream*' [-fpermissive]
C:\upp\uppsrc\Web\httpsrv.cpp (342): error: template argument 1 is invalid
C:\upp\uppsrc\Web\httpsrv.cpp (342): error: template argument 1 is invalid
C:\upp\uppsrc\Web\httpsrv.cpp (342): error: template argument 1 is invalid
C:\upp\uppsrc\Web\httpsrv.cpp (342): error: variable or field 'GetWaitEvents' declared void
C:\upp\uppsrc\Web\httpsrv.cpp (342): error: template argument 1 is invalid
C:\upp\uppsrc\Web\httpsrv.cpp (342): error: 'events' was not declared in this scope
|
|
|
|
Re: Protect and Web [message #49500 is a reply to message #49498] |
Mon, 19 February 2018 15:13   |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi Matteo,
This may be a bit off-topic, but worth noting anyway: Protect only works on Windows up to MSC9. The more recent MSC compilers required by the current (as of 2018) U++ source are incompatible with Protect. Making Protect compatible with current MSC compilers would require some intense work. You may wish to ask Massimo about this, since he's the author of Protect package.
Best regards,
Tom
|
|
|
|
Re: Protect and Web [message #49507 is a reply to message #49503] |
Wed, 21 February 2018 09:20  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi Matteo,
I just compiled the ProtectEncrypt and ProtectTest in examples-bazaar. Using U++ 11766 with MSBT17 build method (e.g. a recent MSC) these packages compile OK with flags "GUI PROTECT", but running ProtectTest winds up in:
"Bad key !!&Do you want to continue anyways ?"
Can you run them successfully on your system?
Maybe, Massimo could fill in on this subject. (?)
Best regards,
Tom
|
|
|
Goto Forum:
Current Time: Sat Apr 26 17:14:30 CEST 2025
Total time taken to generate the page: 0.00496 seconds
|
|
|