Hi All,
I am currently working on Mac Os x 10.4.7
I am trying to retrieve the version of a dynamic library
(.dylib) from its full path.
While investigating source code of dyld, I found that the mach_header
or mach_header_64 contains the version information.
So, I tried to get the mach_header from the file contents.
But I was unable to do so.
Can anyone help me in this regard,
Is there some other way to accomplish the same task,
Thanks in advance,
Princess