Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Is there shared library support for QNX4?
Ref. No. QNX.000001149
Category(ies) Development
Issue Is there the equivalent to Dynamic Link Libraries(DLLs) under QNX4. We would like to create a shared library with QNX4 so our applications may share the functions.


Solution You can make shared libraries under QNX4, that give a single image of a library for multiple executable.  (And it will load it on first demand, though it is not true DLL -- you cannot unload and reload it with different code to update running processes, and it will not automatically unload after all processes that would use it finish.)

Have a look in our free software section in the paths:

/usr/free/qnx4/os/development/mkshlib.tgz
/usr/free/qnx4/os/development/mkshlib-demo
/usr/free/qnx4/os/development/mkshlib-src.tgz