DLL/Components in linux?


I would like to build a server component to use in various projects in linux, like a dll in windows...
In windows, you build a dll that can be registered with regsvr32 and any project that you add it, you can use its functions and procedures...

Like mysql for example, you put libmysqlclient in the makefile, mysql.h on your header section and you will have mysql functions to use.

My project is: I need to build something(like a component) that has a static connection with a database, so, two projects will use this to gather information from the database and insert information in it.
This so the two projects will have the same structure, then I don't have to code twice and it will be much better organized.

But I don't know how to do this and what is the name for this...
Any help will be appreciated.

Thank you,


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!