从公共根目录替换DLL [英] Replace DLL from public root

查看:120
本文介绍了从公共根目录替换DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是尝试

replace

library shdoclc.dll(\\\ \\ _WINCE600 \PUBLIC \\\\OAK \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ le traduzioni alternative">
my
自定义库
shdoclc_my.dll
已实施
in
子项目。
我检查
汇编

dll

成功
但我不能
包含它
in _FLATRELEASEDIR,
替换

现在。

I'm trying to replace the library shdoclc.dll (\\WINCE600\PUBLIC\IE\OAK\SHDOCVWUI\RESDLL) with my custom library shdoclc_my.dll, implemented in the subproject. I check the compilation of the dll is successful, but I can not include it in _FLATRELEASEDIR, replacing the present.

如果我尝试

set
in
bib
project

这个
string

If I try to set in. bib project this string

MODULES

shdoclc。 DLL      $(_ FLATRELEASEDIR)\shdoclc_my.dll       NK SH

我检查

in

makeruntimeimage step
  ; my
library
被跳过..

I check that in the makeruntimeimage step  my library is skipped..

警告:找到重复的条目'shdoclc.dll    NK        C:\ WINCE600 \OSDesigns\iMX51-D55 \RelDir \Freescale_i_MX51_3DS_ARMV4I_Release\shdoclc_my.dll
00000007'...跳过


发现
where it

included
in .bib (\\ WINCE600 \ PUBLIC \\\\OAK \FILES)

original
shdoclc.dll。但我想避免改变公共部分。有办法吗?
b
$
提前感谢您的帮助。

I found where it is included in ie.bib (\\WINCE600\PUBLIC\IE\OAK\FILES) the original shdoclc.dll. But I would like to avoid changing the public section. Is there a way to do this?

Thanks in advance for your help.

AG



推荐答案

问题是合并.bib文件和第一个'句子'时有一个特定的顺序( ie.bib中的一个获胜。 

the problem is that there's a specific order in merging the .bib files and the first 'sentence' (the one in ie.bib) wins. 

将DLL的名称恢复为原始名称,不要在bib文件中添加任何条目:最后添加自定义构建步骤将克隆的DLL复制到

Restore the name of the DLL to the original one and do not add any entry in the bib files: add a custom build step at the end of the build process which copies the cloned DLL in


(_ FLATRELEASEDIR)(覆盖原始版本)并调用romimage ce.bib的构建过程。
请注意,如果克隆的DLL是在BSP源代码树中构建的,它将自动复制到
(_FLATRELEASEDIR) (overwriting the original one) and call romimage ce.bib. Notice that if the cloned DLL is built in the BSP source tree it will automatically copied to


(_ FLATRELEASEDIR)覆盖原始版本,因此您甚至不需要自定义构建步骤
(_FLATRELEASEDIR) overwriting the original one so you do not even need to have a custom build step


这篇关于从公共根目录替换DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆