justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: tricky-one:) is it possible to make a ".so" on linux self-aware (i.e. no host patching) of its own location (dir) on load-time?
Asked by lubo (95.42.114.x) on May 29 2010, 12:15pm
Reply on May 29 2010, 1:10pm:
    You can use dladdr() on an address within your module's code, I believe. To be safe that address might need to be exported (not sure).

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS