First Use EXPORTUNFROZEN in Project mmp file
Initiallly like this for example [1]:
// Make This Code Commented
// as we will need it at a later stage
/*#if defined(WINS)
deffile .\MYDLLWINS.def
#else if defined(ARM)
deffile .\MYDLLARM.def
#endif*/
EXPORTUNFROZEN
After building whole project just use
abld freeze command (from the DOS command line) to export all the functions exported by your DLL and then search the projectname.def files in \epoc32\release\
folder. If Present then the function have been successfully exported in the DEF file.
Now uncomment the deffile primitives in your MMP file like this:
// This is the code was commented before. We now use
// it to tell the linker to use the def file
#if defined(WINS)
deffile .\MYDLLWINS.def
#else if defined(ARM)
deffile .\MYDLLARM.def
#endif
// This tag is not needed anymore
//EXPORTUNFROZEN
Once again re-build the whole project and you will get new dll lib and def file with new exports. Now you can search <yourprojectname><platform>.def file in your working project
folder.
All The Best,
Bhuvnesh Joshi
[1] MYDLL is the name of project i have used you can use your own project (dll) name
|