Gamestudio Links
Zorro Links
Newest Posts
Historical Data with the 64bit FXCM Plugin
by Martin_HH. 01/23/26 15:09
Zorro version 3.0 prerelease!
by jcl. 01/23/26 14:47
C++ direct start requires Zorro S
by jcl. 01/23/26 14:29
ZorroGPT
by TipmyPip. 01/22/26 12:25
MRC.c and WFO
by 11honza11. 01/22/26 10:33
Buy A8 Pro Version
by Spirit. 01/21/26 21:37
Bar missing bug?
by jcl. 01/19/26 10:47
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (qin), 6,551 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
mayarik, Castromangos, Quantum, stephensdeborah, promfast
19194 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
C++ direct start requires Zorro S #489113
Yesterday at 09:40
Yesterday at 09:40
Joined: Jan 2026
Posts: 1
M
mayarik Offline OP
Guest
mayarik  Offline OP
Guest
M

Joined: Jan 2026
Posts: 1
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; Yesterday at 09:46.
Re: C++ direct start requires Zorro S [Re: mayarik] #489114
Yesterday at 14:29
Yesterday at 14:29
Joined: Jul 2000
Posts: 28,056
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,056
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