cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Calling a function from Shared Library (
Calling a function from Shared Library (.so) in c++
Nov 27, 2008 at 11:59am UTC
farooqpervaiz
(3)
Hi,
I have a .so file created in C++, I need to write another c++ program that call methods of this shared library. Any Ideas how to do this
Thanks in advance!
Cheers
Farooq
Nov 27, 2008 at 3:11pm UTC
helios
(17607)
You'll the header/s that declare the functions and data used by that library. Just include the header and link the library while compiling.
Nov 28, 2008 at 4:40am UTC
farooqpervaiz
(3)
Thanks for the reply.
I am new to c++ programming, can you please point to any example of how to declare headers (for functions and data )used by the library and then using that header in my c++ code by adding or including it.
Farooq
Topic archived. No new replies allowed.