开发者

Winforms crash without qtcore4.dll on win 7

I'm writing 开发者_开发技巧a Windows Form Application, that makes extensive use of datagridview and others .net components. When I run the application on a Win 7, it always crashes, saying the qtcore4.dll library is missing. My question is: is this a normal behaviour? and this is happening only to me? and what does that library do?


Run Process Monitor and see where on disk it's trying to load qtcore4.dll.

Then make sure you have a copy of that .dll installed on disk in that location.

Otherwise, you may need to start shipping it with your application in the same directory as the run-time executable.


Load the application into Dependency Walker which will show you which other dll is trying to use it -- assuming it is not loaded via LoadLibrary(), in which case Mike's suggestion of using Process Monitor will be more useful

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜