LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Labwindows CVI7.0 .lib of a dynamic library

In the .lib of a dynamic library, if new functions are added or modified, are the function addresses changed?

Ex: A .lib is included and compiled in a CVI Project.

The Dll is modified, functions are added or modified.

Is the project which includes the .lib need to be recompiled?
0 Kudos
Message 1 of 2
(2,841 Views)
Yes, you will need to recompile your app because by adding functions to the dll, you broke binary compatibility. You might start getting errors in your main exe even before main is called. If you were to call the functions in the dll dynamically however ( using LoadLibrary and GetProcAddress ), you would not need to recompile your exe

Bilal Durrani
NI
Bilal Durrani
NI
Message 2 of 2
(2,841 Views)