HOw to load dynamic lib from a statically linked program ?

I need to load a dynamic library from a statically linked program. Is there a way without recompiling my program.

when i try to do that my program just crashes.

If not possible, how can I avoid crashing the program when i try to load the dynamic lib, again without recompiling.

If my question was vague, plz tell me !

advance thanx,
D.

'statically linked' means that the image file (the exe file) has every module it could ever need compiled into the file. Therefore it doesn't ever need to open a dynamic library when it runs. So it doesn't know how to load a lib.

Sounds like you are trying to port compiled code. What are you trying to do, exactly? If you expalin your whole problem there are probably lots of folks who know an answer.