michaelthompson Posted January 25, 2012 Posted January 25, 2012 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
Sina.Sattari Posted January 27, 2012 Posted January 27, 2012 Mike, Please see this post: http://forums.deltatau.com/showthread.php?tid=671 This question has been asked before and replied.
Recommended Posts