Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 8,653 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
C++ direct start requires Zorro S #489113
01/23/26 09:40
01/23/26 09:40
Joined: Jan 2026
Posts: 2
M
mayarik Offline OP
Guest
mayarik  Offline OP
Guest
M

Joined: Jan 2026
Posts: 2
Hello,

I am new to Zorro, have followed the instruction to create a basic strategy as DLL,

https://zorro-project.com/manual/en/dlls.htm
in particular this: "VC++ setup for a DLL project (free Zorro version)"

It is (see bottom of the post) building alright from my VS2022 then invokes Zorro64.
I do then select my script (by click on New Folder...) click Trade and get this log print,

Zorro64 2.72.1
(c) oP group Germany 2025

Error 063: C++ direct start requires Zorro S

Account: demo / Mt4/5

Couldn't find any reference to this error in the forums, except for something I am using included only in paid "S" version. It does work when I load Zorro64 and add the generated DLL. I'd imagined cpp files would work from VS so I could debug them, etc.

Feels like I am missing out on something very basic?

This is the strategy,

Code
DLLFUNC void run()
{
    vars Prices = series(price(0));
    vars SMA100 = series(SMA(Prices, 100));
    vars SMA30 = series(SMA(Prices, 30));

    if (crossOver(SMA30, SMA100))
        enterLong();
    if (crossUnder(SMA30, SMA100))
        enterShort();
}


Appreciate any guidance! Cheers

Last edited by mayarik; 01/23/26 09:46.
Re: C++ direct start requires Zorro S [Re: mayarik] #489114
01/23/26 14:29
01/23/26 14:29
Joined: Jul 2000
Posts: 28,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
Frankfurt
The message means that you must use VC++ to create the DLL. Directly starting a .cpp file is only implemented in Zorro S.

If you have already compiled it, make sure not to edit the source afterwards. If the source is newer than the DLL, Zorro assumes that the DLL needs to be compiled again.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1