.Lib Vs .dll

G

Gordon Garnsey

I have an excel COM addin that successfully calls an
external .dll to perform various functions. When running,
it requires the dll to be found in the system directory.

I have an equivalent .lib file that I wish to call
instead. I understand that this will result in the
required procedures being incorporated in my COM addin so
that when it has been compiled it shall not need to call
the .lib file any more.

Is this the "Early Binding", "Late Binding" thing and how
would I go about making the changes?

Any advice would be greatly appreciated
 
T

Thomas Winter

Gordon Garnsey said:
I have an excel COM addin that successfully calls an
external .dll to perform various functions. When running,
it requires the dll to be found in the system directory.

I have an equivalent .lib file that I wish to call
instead. I understand that this will result in the
required procedures being incorporated in my COM addin so
that when it has been compiled it shall not need to call
the .lib file any more.

Is this the "Early Binding", "Late Binding" thing and how
would I go about making the changes?

Any advice would be greatly appreciated

I assume you are writing this in C or C++? .lib files are a normal thing
with C/C++ and have nothing to do with DLLs or binding or COM, etc. You will
need to consult the documentation for your compiler or the vendor of the
..lib file.

Tom
 
Top