Mail Archives: djgpp/2000/01/08/15:25:54
I am trying to convert a program originally created using DJGPP and Allegro
to work under VC5 and allegro. I have downloaded the
latest WIP and have managed to get other programs running OK
with it.
In the program there is a function that was available under
DJGPP and Allegro that doesn't seem to be available with
VC5 and Allegro. The function is found in the standard c library and time.h
for DJDPP but not VC5. 'rawclock' returns the number of clock ticks since
midight (18.2 per second)
// DELAY OF 1/4 SECONDS
i=rawclock()+5;
while (rawclock()<i);
This causes the following error message:
'Main1.obj : error LNK2001: unresolved external symbol _rawclock'
Does anyone know of a similar command under VC5.
- Raw text -