Jump to content
OMRON Forums

Automatic dynamic link to library function in background C PLC


michaelthompson
 Share

Recommended Posts

When we create a C function in the library (which is apparently dynamically rather than statically linked) and call it from a C application, the dynamic linking seems to be automatically resolved without any additional work on our part. We simply call the C library function like any other. However, when we try to do the same thing from a background C PLC, the dynamic linking no longer resolves automatically. If we want to access the function, we are forced to use the dlopen(), dlsym(), and dlclose() functions to access the dynamic library functions. Why is this the case, and is there anything that we can do to get the library functions to resolve automatically when called from background C PLCs?

 

Mike

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...