0

hi, i want to add library to borland c++ it consist of header files and .lib files I try to put the header files in include file and .lib in lib file but they still not working, does that mean the .lib files are corrupted

2
Contributors
4
Replies
5
Views
11 Years
Discussion Span
Last Post by amirwan
0

I dunno, depends on what you mean by "not working".

Does it mean "file not found"
Does it mean "the file seems to be corrupt".

Also, how did you 'include' it?
Did you do something like
#include "file.lib" // this is wrong
Or something else?

Where did you get the .h/.lib from? Did it say that it was suitable for use with your compiler (including the version of your compiler). .lib file formats vary between compilers and versions of compilers.

0

i include only the header files and i put the path of the .lib to recognize that but when i try to use it's function it did not work

0

ok i think the problem is clear but i will try to explain what exactly what happen. the library is about socket and one of it's function is
socket() when i compile the program an error is raised and it said
undefined symbol socket().

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.