Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 552 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
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