Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Protect and Web
Protect and Web [message #49406] Mon, 05 February 2018 21:31 Go to next message
idkfa46 is currently offline  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 #49498 is a reply to message #49406] Mon, 19 February 2018 14:48 Go to previous messageGo to next message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member

no one moved from the old version of "Protect" to the latest one?

Regards,
Matteo
Re: Protect and Web [message #49500 is a reply to message #49498] Mon, 19 February 2018 15:13 Go to previous messageGo to next message
Tom1
Messages: 1212
Registered: March 2007
Senior 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 #49503 is a reply to message #49500] Tue, 20 February 2018 16:43 Go to previous messageGo to next message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
Ciao Tom,
thank you for your reply.

I had a look at bazaar and the latest release for "Protect" seems to be update to Dec 2017.

here the link: https://www.ultimatepp.org/www$uppweb$bazaar$en-us.html

Best regards,
Matteo

Re: Protect and Web [message #49507 is a reply to message #49503] Wed, 21 February 2018 09:20 Go to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior 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



Previous Topic: ArrayMap / Polymorphism question
Next Topic: Vector of Button
Goto Forum:
  


Current Time: Fri Apr 19 00:23:38 CEST 2024

Total time taken to generate the page: 0.04269 seconds