Hello Sheetal,
Also depending on your OS, one way to see what is inside of a DLL is to use the "QuickView" utility that ships with Windows 98/95 and NT 4.0. QuickView will display the contents of the DLL in an "Export Table" section of its graphical window, but is not completely reliable. To use QuickView, just locate a DLL file using the Windows Explorer, right-click on the filename, and select QuickView. If this option is not available, you may need to install the QuickView utility from your Windows CD.
An alternative to QuickView, as Al S mentioned, is the "dumpbin" utility that comes with Microsoft Visual C++ (MSVC++). It's located in the msdev\bin directory and must be run from the command line. Before running the dumpbin executable, however, you may be required to set your environmental variables up so that dumpbin can find the appropriate DLL and support files by calling the vcvars32.bat file. Here's an example:
cd "C:\Program Files\Microsoft Visual Studio\VC98\Bin"vcvars32.batdumpbin /EXPORTS d:\cvi401\instr\scope.dll > exports.txt
Examine the part under the Exports header in the exports.txt file that is generated. Here you will find the symbols that are accessible externally. Note that the names may be "decorated". Compilers will change the symbols according to certain rules so that a linker can determine what the parameters and return types of the function are based on the decorated name. Your original function or variable name will still be visible, but it may have various characters appended or prepended to it because of this name decoration.
I hope that helps.
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter