User Profile

Collapse

Profile Sidebar

Collapse
Hek Mek
Hek Mek
Last Activity: Mar 23 '11, 03:11 AM
Joined: Mar 24 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi!
    I am using Linux where "shared object" is the term for a library's binary (i.e. the equivalent of a DLL on Windows sytems).
    The main program is not statically linked to the plugins, but when provided with a "LoadPlugin <file>" directive in its configuration, it will try to load the plugin as a library by creating a handler (using dlopen) for the respective file (a shared object or DLL) and then call a function...
    See more | Go to post

    Leave a comment:


  • Calling a main program's non-global function from a library

    Hi!

    I am writing a plugin for a program which will be loaded as a shared object. In the plugin I need to use a function (actually, several functions) from the main program that is not included in any headers but just in the file it is used in. Declaring the function as extern did not work, i.e. I can compile the plugin but get a runtime error "undefined symbol: create_lq_hello " when the plugin is being loaded by the main...
    See more | Go to post
No activity results to display
Show More
Working...