Windows Mobile应用程序错误 [英] Windows mobile Application Error
问题描述
嗨
我试图为Windows Mobile 6创建安装程序.
运行应用程序时出现此错误:
NotSupportedException
在Microsoft.AGL.Common.MISC.HandleAr()
在System.Windows.Forms.Control._InitInstance()处
在System.Windows.Forms.Control..ctor()
在System.Windows.Forms.Button..ctor()
在gpstest.Form1.InitializeComponent()处
在gpstest.Form1.Main()
在gpstest.Form1..ctor()
首先,我只创建带有文本"helloworld"的标签,并且运行良好
然后我放上按钮并重新安装.
出现那个错误之后,
有人有解决我问题的想法吗?
在
Hi
i tried to create an installer for windows mobile 6
and i got this error when i run the application:
NotSupportedException
at Microsoft.AGL.Common.MISC.HandleAr()
at System.Windows.Forms.Control._InitInstance()
at System.Windows.Forms.Control..ctor()
at System.Windows.Forms.Button..ctor()
at gpstest.Form1.InitializeComponent()
at gpstest.Form1.Main()
at gpstest.Form1..ctor()
first i create only label with text "helloworld" and it is running well
and then i put button and install it back.
after that that error came up,
does someone has any idea to solve my problems?
thanks before
推荐答案
之前,谢谢我最近看到了一条非常相似的消息,从Windows Mobile 6.1升级到6.5的设备基本上表现出非常相似的行为.该设备是HTC Touch Pro2.我的表单上有一个日历控件,一个标准的移动控件,它崩溃了.我删除了日历,它工作正常.
下一个问题是我得到了MethodAccessException,将私有方法更改为公共方法,并且可以正常工作. IMO对此没有任何解释!
我不确定.NETCF和Windows Mobile 6.5是否没有问题.
我知道这可能根本没有帮助,但是我想我会分享经验的.
I saw a very similar message recently, basically a device that was upgraded from Windows Mobile 6.1 to 6.5 exhibited very similar behaviour. The device was a HTC Touch Pro 2. I had a calendar control on my form, a standard mobile control, it crashed. I removed the calendar, it worked fine.
Next issue was I got an MethodAccessException, changed a private method to a public method and it worked. IMO there was no explanation for that one!
I''m not sure there aren''t some problems with .NETCF and Windows Mobile 6.5.
I know this may not be helpful at all, but I thought I would share the experience.
这篇关于Windows Mobile应用程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!