I created a simple shared lib and PB furnished me with a .so file much to my surprise - I was expecting a .dylib.
I used OpenLibrary() to run the exported functions and no problem.
Being a Windows man at heart I then scratched my head looking for the equivalent of a Windows import library (.lib) for the shared library; meaning that I can use Import and statically link the function stubs etc.
Anyhow; I couldn't find one and so resigned myself to having to load the shared lib through OpenLibrary() etc.
Then, just for the hell of it, I tried Import directly on the .so file and... it worked!
What the deuce is going on here?
Can someone shed some light on this and perhaps explain the differences between a .so file and a .dylib? My puzzlement undoubtedly arises from my severe entrenchment within WIndows.
Thanks.



