smurff
asked on
cant compile : undefined reference to _apicall01
Hi,
New to C (from delphi) installed lcc-win32. Build "hello world" works fine. Got a .c file that i know works for someone else that calls an api. I have all the .h files and everything is the same as my friend but it wont compile saying : undefined reference to (the api call)
Anyone know why please
Many thanks
Smurff
New to C (from delphi) installed lcc-win32. Build "hello world" works fine. Got a .c file that i know works for someone else that calls an api. I have all the .h files and everything is the same as my friend but it wont compile saying : undefined reference to (the api call)
Anyone know why please
Many thanks
Smurff
ASKER
Hi
Sorry about the wrong forum, which one should I goto?
The #include section looks like this:
/* System include files */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* AR System include files */
#include <ar.h>
#include <arextern.h>
#include <arstruct.h>
#include <arfree.h>
Are they supposed to be case sensative?
The files are in the /include dir Ive tried putting them into the same directory... do you think it could be lcc-win32?
Many thanks
Smurff
Sorry about the wrong forum, which one should I goto?
The #include section looks like this:
/* System include files */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* AR System include files */
#include <ar.h>
#include <arextern.h>
#include <arstruct.h>
#include <arfree.h>
Are they supposed to be case sensative?
The files are in the /include dir Ive tried putting them into the same directory... do you think it could be lcc-win32?
Many thanks
Smurff
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(Incidentally - where are the two files? In same diectory?)