Gamestudio Links
Zorro Links
Newest Posts
Alternative to Stooq for Zorro S
by Petra. 10/14/26 07:04
ZorroGPT
by TipmyPip. 10/13/26 17:08
Stooq now requires an API key
by cwford. 10/08/26 23:27
Purchase A8 full licence version
by jcl. 10/05/26 12:12
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 25,252 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Using standard C libraries with Zorro? #471054
02/17/18 17:20
02/17/18 17:20
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
How should I set up Zorro for using standard C libraries?
Just trying
Code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>


in the beginning of a file produces errors about missing dependencies.

Re: Using standard C libraries with Zorro? [Re: Hredot] #471060
02/17/18 20:39
02/17/18 20:39
Joined: Feb 2017
Posts: 1,835
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,835
Chicago
I believe Lite-C isn't 100% compatible with C, so it might not work to try to include standard C libraries.

Instead, you can make your own DLLs with exported cdecl functions and import those functions in Zorro.

Nonetheless, some of the standard C library functions are available/replicated/"imitated". Check the Zorro manual for details.

Also, you can write Strategy DLL's and easily import any standard library you want with ease. There are drawbacks, though... it can be more complicated and time consuming, especially if you don't know what you're doing:
http://zorro-project.com/manual/en/dlls.htm

Re: Using standard C libraries with Zorro? [Re: AndrewAMD] #471062
02/18/18 01:51
02/18/18 01:51
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
Thanks for the suggestion! I'll give it a try.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1