I am surprised to see the same comment as given in developer technical library for def file creation, which myself is not able to create using vc 7.0(.net) enviornment.
Even when i give the following lines in my dlls .mmp file (as follows):-
#else if defined(ARM)
is given in .mmp file of dll (dynamic). Dll is created but without def file!
There is some point which is missed? I am eagerly looking for kind reply.
Thanks for any suggestion.
Anil Kumar Sharma
The .def file defines which exports (functions) appear in the DLL's import library (.lib). If the EXPORTUNFROZEN statement is added to the projects .mmp file, all exports appear in the import library.
Released versions of DLLs should freeze their exports, to ensure the backward compatibility of new releases of a library. To create a .def file, build the project in the normal way. A warning will be generated to the effect that the frozen .def file does not yet exist. Once the project has been built you can freeze it by calling the 'abld freeze' command.
Once the project is frozen, remove the EXPORTUNFROZEN statement and regenerate the makefiles so that the import library will be created from the .def file.