delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/30/16:15:51

From: "Gary Smith" <gary DOT smith3 AT virgin DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Winalleg help
Date: Sun, 30 Aug 1998 21:15:12 +0100
Organization: Virgin News Service
Message-ID: <6scbj8$i9c$1@nclient3-gui.server.virgin.net>
NNTP-Posting-Host: 194.168.67.106
Lines: 22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am trying to convert a program written using DJGPP and Allegro V3
to Direct X using Visual C++ V5 and winallegro.
All the example programs compile and link fine.
In my program I use the following two functions which I think are standard C
functions:
delay();
rawclock();

usage:
delay(3000);   3 second delay
frame_tstart=rawclock();


Visual C returns the following errors :
unresolved external symbol _delay
unresolved external symbol _rawclock

The program compiles fine under DJGPP.

Any ideas ?.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019