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 » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » OleCalc example can't compile
Re: OleCalc example can't compile [message #56017 is a reply to message #56014] Thu, 14 January 2021 14:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
Xemuth wrote on Thu, 14 January 2021 11:26
The package named OleCalc don't compile under windows using MSVS19 or Clang both in 64 bits

Contraty to MSVS, clang have 41 compilations error when MSVS have only 1.
Can someone can confirm me OLE/ activeX control can't be compiled using clang but only with MSVS ?

Also, about MSVS : when I try to compile it the first error which is raise is this one :
template <>
inline unsigned GetHashValue(const Guid& guid) { return GetHashValue(~guid); }

Error C912: the explicit specialization 'unsigned int Upp :: GetHashValue (const Upp :: Guid &)' is not a specialization of a function template

If I try to remove the 'template <>' then the next compilation error is :
error C2259: 'Upp :: OcxObjectWrapper <Calculator>': unable to instantiate abstract class

The IViewObject Draw(...) method is abstract


I have fixed it a bit, be seriously thing rather about removing the whole OCX stuff. I do not remember using this in practice... and OCX seems to be sort of out of fashion anyway.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: findarg_r, a findarg variant that works with value ranges.
Next Topic: Horizontal Cursor for CodeEditor/LineEdit
Goto Forum:
  


Current Time: Sun Jun 09 19:09:35 CEST 2024

Total time taken to generate the page: 0.01760 seconds