Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 919 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c++ dll example does not compile (Zorro 2.48.1 #486193
06/17/22 18:50
06/17/22 18:50
Joined: Jun 2022
Posts: 1
A
AlexTomb Offline OP
Guest
AlexTomb  Offline OP
Guest
A

Joined: Jun 2022
Posts: 1
Hi!
I am trying to build an example from Zorro\Source\VC++
Win10 + VS2019
Of course I know how to create a dll and can do it laugh

It looks like the file compile.bat assumes some conditions. It just does not create a dll.
I tried an another way,
I create a dll as a separated project (ZorroDLL.cpp + MyStrategy.cpp + uncomment #define WORKSHOP4...)
The dll resides in the folder Zorro\Strategy\ZorroTester.dll
I see this dll in the list of strategies.
When I try to run this strategy Zorro says "Zorro 2.48.1
(c) oP group Germany 2022


ZorroTester
Error 062: Can't open ZorroTester.c
"

whe does Zorro try to open the file ZorroTester.c?

Could you share a complete VS project with a working example, please?

Regards,

Re: c++ dll example does not compile (Zorro 2.48.1 [Re: AlexTomb] #486194
06/17/22 20:24
06/17/22 20:24
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Follow the instructions down to the last detail in the manual page:
https://zorro-project.com/manual/en/dlls.htm

Re: c++ dll example does not compile (Zorro 2.48.1 [Re: AlexTomb] #486197
06/18/22 11:28
06/18/22 11:28
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
2.48 has no compile.bat. You need 2.49.


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