Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 984 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
can't run Lite-C programs #212782
06/24/08 04:56
06/24/08 04:56
Joined: Jun 2008
Posts: 40
pfeldman Offline OP
Newbie
pfeldman  Offline OP
Newbie

Joined: Jun 2008
Posts: 40
I downloaded and installed Lite-C on my Windows XP system. The installation went smoothly, but most of the sample programs that I've been able to obtain don't run. When I try to launch these from within the Script Editor, either nothing at all happens, or something flashes on the screen for a fraction of a second.

Below I've copied one of the programs from the Lite-C workshop that doesn't run. If there is someone out there who has a windows XP system and is able to run this program, please let me know.

// START

#include <acknex.h>
#include <default.c>

var a = 0;
var b = 0;
var c = 0;

PANEL* panDisplay =
{
digits(35, 10, "a = %0.f", *, 1, a);
digits(35, 19, "b = %0.f", *, 1, b);
digits(35, 28, "c = %0.f", *, 1, c);
flags = VISIBLE;
}

function main()
{
video_mode = 7; // create a program window of 800x600 pixels
screen_color.blue = 150; // and make its background dark blue
while (1)
{
c = a + b;
wait (1);
}
}

// END

Re: can't run Lite-C programs [Re: pfeldman] #212970
06/25/08 06:54
06/25/08 06:54
Joined: Jun 2008
Posts: 40
pfeldman Offline OP
Newbie
pfeldman  Offline OP
Newbie

Joined: Jun 2008
Posts: 40
I downloaded and installed Lite-C on a second computer. Demo programs work fine on computer #2, but not on computer #1. Both computers are running Windows XP Service Pack 2. Is Lite-C incompatible with specific graphics cards? Otherwise, I can't think of any important difference between the two computers.


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