My LabView program calls DLL functions that need to be upgraded to a different version every six months. When DLL has to be upgraded, I need to redefine the ActiveX server refernce, which is expected. Even thiough DLL functions are backward compatible, I still have to either recreate the calling interfaces or, after redefine the ActiveX refernce, I have to respecify all methods and properties and sometimes break wiring and rewire them to make program works.
Otherwise I get Null refernce or system errors. Someone told me that DLL's should be compiled with PIC(position-Independent-code) flag turned on. I need to know if this is why I always have problems when DLL's upgraded. Can anyone
tell me what PIC means and how to turn it on? Thanks.