Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (dBc), 17,971 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,806
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

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