Posted 18 years ago by Ashton - Developer, Schema Solutions LLC
Avatar
I have 1 user who gets the following error as they type into the Editor:

Handle is not initialized

at System.Runtime.InteropServices.GCHandle.Free()
at System.Windows.Forms.Timer.set_Enabled(Boolean value)
at ActiproSoftware.SyntaxEditor.Caret_1(object, eventargs)
at System.Windows.Forms.Timer.OnTick(Eventargs e)
at System.Windows.Forms.Timer.Callback(Intptr hwnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)

It only seems to be this one user and they always get the exception after typing (no set of keys seem to cause it, just after typing some chars)

Any idea what could be the cause here?

Since it's only 1 user I don't think it's an issue with SE but just curious if you have an idea why the user might get this error (I thought Caret_1 was just blinking the cursor???)

Thanks,

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I'll add a try...catch around that code. If you Google this error you see that it's a Microsoft bug that other people have had with other controls that use Timers. I found several newsgroup postings on the subject.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.