|
|
Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » OleCalc example can't compile
OleCalc example can't compile [message #56014] |
Thu, 14 January 2021 11:26  |
 |
Xemuth
Messages: 316 Registered: August 2018 Location: France
|
Senior Member |
|
|
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
my github : https://github.com/Xemuth
[Updated on: Thu, 14 January 2021 11:30] Report message to a moderator
|
|
|
|
|
|
Re: OleCalc example can't compile [message #56023 is a reply to message #56014] |
Thu, 14 January 2021 18:20  |
 |
Xemuth
Messages: 316 Registered: August 2018 Location: France
|
Senior Member |
|
|
However, I have no knowledge about ActiveX. This exemple compile but linker tell me "linking has failed" but just under this it tell me
"creation of library ... OleCalc.lib and object OleCalc.exp"
I'm a bit confused. It generate dll and lib. but I thought this exemple was supposed to be a launchable TopWindow Apllicaton which I could drive using OLE ?
my github : https://github.com/Xemuth
[Updated on: Fri, 15 January 2021 13:21] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Mar 05 13:30:50 CET 2021
Total time taken to generate the page: 0.02536 seconds
|
|
|