|
Re: New Zorro version 2.50
[Re: jcl]
#486311
07/28/22 01:25
07/28/22 01:25
|
Joined: Feb 2017
Posts: 1,729 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,729
Chicago
|
In the zorro.h headers, these functions overloads are defined: inline char* ifelse(BOOL c,char* a,char* b) { return ifelse2(c,a,b); }
inline char* ifelse(BOOL c,const char* a,const char* b) { return ifelse2(c,(char*)a,(char*)b); }
I had a situation where I was overloading with (BOOL, char*, const char*), so this was an ambiguity error. Either the char* overload should be removed, or two variations with (BOOL, const char*, char*) and (BOOL, char*, const char*) should be added. Also, if ifelse() is using a const char*, shouldn't it be returning a const char* instead of a char*?
|
|
|
Re: New Zorro version 2.50
[Re: jcl]
#486355
08/05/22 10:40
08/05/22 10:40
|
Joined: Mar 2018
Posts: 62
hast29
Junior Member
|
Junior Member
Joined: Mar 2018
Posts: 62
|
Hi, I am having difficulty to install the 2.50.2 Version. The error message is, that the VCRUNTIME140.dll is missing and the advice to reinstall. With the 64-bit version also no success, complains about missing mfc140.dll. I have uninstalled all old versions, and installed from scratch, the same error messages. Is it a bug or some setup problem of my desktop ? I mean the Zorro is installed with no error message, but Zorro.exe does not start.
Thank you for any advice, ...
Last edited by hast29; 08/05/22 10:41.
|
|
|
Re: New Zorro version 2.50
[Re: jcl]
#486356
08/05/22 11:03
08/05/22 11:03
|
Joined: Jul 2000
Posts: 27,986 Frankfurt
jcl
OP
Chief Engineer
|
OP
Chief Engineer
Joined: Jul 2000
Posts: 27,986
Frankfurt
|
No bug or setup problem, but apparently a PC without a VC runtime. Please get it here: https://opserver.de/down/vcruntime140.zipand unzip it in the Zorro folder or in your windows/system32 folder. Maybe it's not the only DLL missing - please let us know if you then still get a missing DLL error. We'll pack all those DLLs in the setup. The 64 bit version won't directly run on your PC anyway. You must really install the 64 bit runtime as described in the manual.
|
|
|
|