为什么我使用资源文件出错?
我使用的是外来的资源文件。我是直接用[Add Existing Item]把别的程序的资源文件加进我的项目的。运行是出错:
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "ToolBarImages.resources" was correctly embedded or linked into assembly "gstxl".
baseName: ToolBarImages locationInfo: <null> resource file name: ToolBarImages.resources assembly: gstxl, Version=1.0.855.29051, Culture=neutral, PublicKeyToken=null
以上的资源文件确定是有内容的。不知道资源文件是不是象我说的那样引进到项目里。
帮帮忙!!!!!!1
问题点数:40、回复次数:3Top
1 楼winne_ll(feiyang)回复于 2002-05-05 16:36:01 得分 0
这可能是资源冲突
你需要检查每个ID
还没想到更好的解决方法。Top
2 楼Hover(翔)回复于 2002-05-05 16:39:11 得分 0
检查一下*.rc与Resource.h中资源定义,有无重复Top
3 楼srnld(天涯)回复于 2002-05-18 23:15:15 得分 40
加上你的程序所用的名字空间XXXX试试
XXXX.ToolBarImages.resourcesTop




