首 页 | 新 闻 | Symbian | Android| Windows Mobile | J2ME | 下载中心 | 游戏策划招聘与求职 | 购书指南 | 视频教程
您现在的位置: 开发视界 >> Symbian英文资料 >> Tips Tricks >> 正文
How To Freeze New Exports From Dll
作者:佚名    文章来源:不详    更新时间:2006-5-7 11:27:05

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

相关文章:
How to reset the alternate makmake entry in Codewarrior
Carbide.vs - Disabling the MMP/PKG File update feature
Codewarrior: how to avoid the "Too Many Include Paths" error when using the UIQ 2.1 SDK
Carbide.c++: Setting up On Target Debugging
Display the extended panic code in Emulator or Device
Start automatically an application or an exe after its installation
Compress Your Symbian C++ Executables
Change the application name in shell and panel
 

站点地图 | 加入收藏 | 联系站长 | 广告服务 |
QQ:280529124  Tel:0592-8271361 辽ICP备05021703号