how to retrieve a running dll/dylib path?

B

bowser

I'm not sure if I have to post this message here. If I'm wrong, please
tell me where should I ask for it.

I'm developing a plugin that is a dynamic(shared) library. It has to
refer to some external
resources, that I want to put in the same folder of the binary. But
since it can
be placed anywhere, how can I retrieve its path?
I'm working under both Mac and Windows.

Alternatively I could embed the resources but I know this is platform
dependent,
and I have no idea how to do it under Mac.

Thank you in advance,

Alessandro
 
V

Victor Bazarov

bowser said:
I'm not sure if I have to post this message here. If I'm wrong, please
tell me where should I ask for it.

Having read the question, I believe the best place is the newsgroup
that deals with programming for your OS.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top