how to find which lib is a function in?
-
intellisense tell you in which file the declaration of your function is on (VS.NET 2003 +), and msdn tells also at the bottom of a function doc which header is to include to have this function working. for example, for the cos()[^] cosine function, msdn tells us that the required header is
<math.h>
, and the function is defined in all the C run-time libs[^]libs are -
intellisense tell you in which file the declaration of your function is on (VS.NET 2003 +), and msdn tells also at the bottom of a function doc which header is to include to have this function working. for example, for the cos()[^] cosine function, msdn tells us that the required header is
<math.h>
, and the function is defined in all the C run-time libs[^]libs are -
I mean 3nd part lib but that has no docment and source. for dll, I can use depends to work out. for static lib, which tool can solve it?
-
i don't understand. if you know the function you are using, and you know it comes from a 3rd part library, how don't you know the right lib it is embedded in ?
-
the function is from one of many libs.but I do not know which lib is it. a big .h file contain all declaration for those libs.
-
derek7 wrote:
if a .h file contain many lib declaration.and no source . how to locate a function ?
Use dumpbin
-
derek7 wrote:
if a .h file contain many lib declaration.and no source . how to locate a function ?
Use dumpbin