From: Paolo Patierno on
Hello,
I have an application developed on .NET CF 2.0. This application works fine
on my target device with Windows CE 5.0 but on Windows CE 6.0 (with the same
device), it throws the following exception randomly :

Crash in main program System.NotSupportedException: NotSupportedException
in System.Windows.Forms.Control.OnClick()
in System.Windows.Forms.Button.OnClick()
in System.Windows.Forms.ButtonBase.WnProc()
in System.Windows.Forms.Control._InternalWnProc()
in Microsoft.AGL.Forms.EVL.EnterMainLoop()
in System.Windows.Forms.Application.Run()
in Ditron.CustomizableRegister.Program.Main()

Why ?

Thanks,
Paolo

--
Paolo Patierno
Embedded Software Engineer
From: Paolo Patierno on
I have solved the problem....
Tha application was compiled with .Net CF without any Service Pack but
windows ce 6.0 R3 had the .Net CF SP2 installed.
I have compiled the application with .Net CF SP2 and now all work fine !

Paolo.
--
Paolo Patierno
Embedded Software Engineer


"Paolo Patierno" wrote:

> Hello,
> I have an application developed on .NET CF 2.0. This application works fine
> on my target device with Windows CE 5.0 but on Windows CE 6.0 (with the same
> device), it throws the following exception randomly :
>
> Crash in main program System.NotSupportedException: NotSupportedException
> in System.Windows.Forms.Control.OnClick()
> in System.Windows.Forms.Button.OnClick()
> in System.Windows.Forms.ButtonBase.WnProc()
> in System.Windows.Forms.Control._InternalWnProc()
> in Microsoft.AGL.Forms.EVL.EnterMainLoop()
> in System.Windows.Forms.Application.Run()
> in Ditron.CustomizableRegister.Program.Main()
>
> Why ?
>
> Thanks,
> Paolo
>
> --
> Paolo Patierno
> Embedded Software Engineer