如何修改DLL中默认的图标标识符
比方说,我用DELPHI7编写一个DLL文件,用
图标提取器.EXE[查看这个新生成的abc.dll],这个abc.dll中有三个图标如下:
我想去掉那个DELPHI7默认图标,修改成其它的[图标]

解决方案 »

  1.   

    这个abc.dll就两个[图标],是那个
    -3 -4
    删除-1 -2后,-3 -4 变成了-1 -2
      

  2.   

    高手们顶顶呀>>>>>>>>>>>>>>>>
      

  3.   

    project -view source - 删除工程文件的{$R *.res}
    try 下把
      

  4.   

    我也找到一个好方法,就是在DLL中的工程中处理的,
    如红字部分即可,很简单的..........
    library D7Shell;
    { Important note about DLL memory management: ShareMem must be the
      first unit in your library's USES clause AND your project's (select
      Project-View Source) USES clause if your DLL exports any procedures or
      functions that pass strings as parameters or function results. This
      applies to all strings passed to and from your DLL--even those that
      are nested in records and classes. ShareMem is the interface unit to
      the BORLNDMM.DLL shared memory manager, which must be deployed along
      with your DLL. To avoid using BORLNDMM.DLL, pass string information
      using PChar or ShortString parameters. }{$R 'LOGOICOS.res' 'LOGOICOS.RC'}uses
      SysUtils,
      Classes;
    //{$R *.res}
    //{$R LOGOICOS.res}
    begin
    end.