EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Cannot open clipboard" error

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
mstaszew



Joined: 21 Jul 2006
Posts: 67
Location: North Carolina, USA

PostPosted: Thu Jun 14, 2007 2:21 pm    Post subject: "Cannot open clipboard" error Reply with quote

This may not be an EControl issue per se, but I figure that I would throw it out here on the forum in case anyone else has seen it or has suggestions.

One of our users sees "Cannot open clipboard" from time to time. We haven't been able to locate the cause yet, but the line of code that fails is Clipboard.SetAsHandle(CF_UNICODETEXT, Data); in procedure SetClipboardText. We are on version 2.28 of the source, but I see that the routine has not changed in version 2.32. We are using Delphi 7. The user has a Dutch language setting in Windows. Any ideas? Thanks in advance.
Back to top
View user's profile Send private message
mstaszew



Joined: 21 Jul 2006
Posts: 67
Location: North Carolina, USA

PostPosted: Thu Jun 14, 2007 3:17 pm    Post subject: Reply with quote

I forgot to mention that the referenced routine is in ecStrUtils.pas
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Wed Jun 20, 2007 4:57 pm    Post subject: Reply with quote

Yes, I hear about such problem, but all my attemps to reproduce it were unsuccessful.
If anyone has ideas about the problem and how to fix it, I shall appreciate any help.

Michael.
Back to top
View user's profile Send private message Send e-mail
sepa



Joined: 06 May 2007
Posts: 13

PostPosted: Fri Nov 09, 2007 12:31 pm    Post subject: Reply with quote

I see this couple of times. After i get this error, all work with clipboard show such error, till i restart app. Strange that i often get this error when work thru RDP on server. On local computer i working more, but have this error only once or two.
May be this will help - i use PuntoSwitcher. Programm based on SyntaxEditor runs on local computer and on server too at same time.
Let's get some statistcs here =)
Back to top
View user's profile Send private message Visit poster's website
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Fri Nov 09, 2007 4:07 pm    Post subject: Reply with quote

Possible reason is found and fixed in version 2.40.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group