Original Post
Can DLLs loaded during runtime (using LoadLibrary or dlopen interfaces) use functions defined in the executable which loaded them? I'm having a problem with a GUI DLL for my music sequencer, which cannot be linked due to unresolved references:
main.o(.text+0xe):main.cpp: undefined reference to `RegisterMainLoop' I guess this is a dumb question, but I'm quite new at DLLs. On the other hand, Assembler, C, C++, Scheme and Haskell code snippets occur frequently in my dreams... :)