在程序中使用DLL时出错 [英] error when using a dll in program
问题描述
朋友们。当我在Visual Studio中的工具箱中添加了一个dll控件时,我的程序中会出现此错误。它没有显示它发生的任何代码行。它会在我运行程序时出现(运行时错误)。
i对此一无所知。
System.NullReferenceException未处理
Message =对象引用未设置为对象的实例。
Source = PersianDate
StackTrace:
at FreeControls.PersianDateTimePicker.Finalize()
InnerException:
hi friends. this error occur in my program when i added a dll control to my toolbox in visual studio. it do not show any line of code that it happened. and it will occur when i run program(runtime error).
i do not have any idea about it.
System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=PersianDate
StackTrace:
at FreeControls.PersianDateTimePicker.Finalize()
InnerException:
推荐答案
控件本身有错误 - 它试图处理它已经处理掉的一些参考。
将错误消息发送给为其信息创建该控件的人 - 并查看他们是否有新版本(或解决方法)。
The control itself has an error - it is trying to dispose of some reference that it has already disposed of.
Send the error message to whoever created that control for their info - and see if they have a new version (or a work-around).
这篇关于在程序中使用DLL时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!