又报错 the download specified resource has failed

又出错 the download specified resource has failed
程序调用了DLL,DLL中用了XMLDocument。在工程文件夹中可以正常运行。单独运行,则报错:the download specified resource has failed  line 0

有用CoInitialize(NULL)。


请问大侠,是怎么回事?哪里的错误?
------解决思路----------------------
引用:
看了一下,就是在LoadFromFile这里出错的。还是不明白为什么工程文件夹可以正常运行,而其他则不行?
需要CoCreateInstance?


莫非你用的是传说中的绝对路径?