Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by M_D. 04/26/24 20:22
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (M_D, Quad, Ayumi), 813 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
New Zorro version 2.50 #486263
07/08/22 09:03
07/08/22 09:03
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Zorro 2.50 is now available on https://zorro-project.com/download.php

List of new features: https://manual.zorro-project.com/new.htm

This release candidate will become the official release when no bugs are found in the next time. Please test everything and report any issues here! As usual, if you're the first one to find a new and serious bug in the release candidate, you can get a free Zorro S subscription or support extension. This time the chance is particularly good because we switched to a new compiler and to new versions of many libraries.

Re: New Zorro version 2.50 [Re: jcl] #486307
07/25/22 13:47
07/25/22 13:47
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
New version: 2.50.1, same link

Fixes: advise() produced sometimes a different result in 64 bit, and profile.c contained a duplicate variable definition.

Re: New Zorro version 2.50 [Re: jcl] #486308
07/26/22 10:29
07/26/22 10:29
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Version 2.50.2.

2.50.1 still had a bug.

Re: New Zorro version 2.50 [Re: jcl] #486311
07/28/22 01:25
07/28/22 01:25
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
In the zorro.h headers, these functions overloads are defined:
Code
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] #486312
07/28/22 08:17
07/28/22 08:17
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes. In that case cast the char* to const char*.

The two overloads cover almost all cases where ifelse is used with Zorro functions or indicators. The second overload returns a char' because it is for arguments of type "string", which convert to const char', but can in fact be passed to functions that accept char*.

We didn't want to inflate zorro.h even more with even more overloads or template variants. In some cases you really need a typecast, not only for ifelse.

Re: New Zorro version 2.50 [Re: jcl] #486336
08/02/22 17:22
08/02/22 17:22
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
C++: tradeUpdate() with no arguments does not have an overload. I only see this overload in the Lite-C headers (default.c).

Re: New Zorro version 2.50 [Re: jcl] #486340
08/03/22 12:29
08/03/22 12:29
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
In fact, none of the functions has a real overload in C++. They convert to variants with appended "0" or "1".

We'll rename tradeUpdate() to tradeUpdatePool() in the next update. You can already enter this line in zorro.h:

inline int tradeUpdatePool() { return tradeUpdate(0,0,0,0,0); }

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 Offline
Junior Member
hast29  Offline
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 Offline OP

Chief Engineer
jcl  Offline 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.zip

and 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.

Re: New Zorro version 2.50 [Re: jcl] #486357
08/05/22 13:29
08/05/22 13:29
Joined: Mar 2018
Posts: 62
hast29 Offline
Junior Member
hast29  Offline
Junior Member

Joined: Mar 2018
Posts: 62
Hi jcl and thank you for the prompt support. The library did not help. After unzipping it into Zoro folder, the application does not start again and this time with just a message "the application could not be started", no hints about any other missing libraries.
Do I understand you properly, if I install the 64bit MS Visual Studio in the computer, the problem will be solved ? MS Visual Studio is now free, so this is for me no extra costs option.
Also, is there any benefit from 64bit architecture ? I am just training and testing own scripts, writen directly in Zorro "simple C".

Page 1 of 3 1 2 3

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1