Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Load the flexible .ini o txt files Pin
David Crow20-Nov-09 3:34
David Crow20-Nov-09 3:34 
Question::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
sirryan19-Nov-09 20:23
sirryan19-Nov-09 20:23 
QuestionRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
CPallini19-Nov-09 20:32
mveCPallini19-Nov-09 20:32 
AnswerRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
sirryan19-Nov-09 21:36
sirryan19-Nov-09 21:36 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
CPallini19-Nov-09 21:52
mveCPallini19-Nov-09 21:52 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
David Crow20-Nov-09 3:39
David Crow20-Nov-09 3:39 
AnswerRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
Richard MacCutchan19-Nov-09 21:55
mveRichard MacCutchan19-Nov-09 21:55 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
sirryan19-Nov-09 23:19
sirryan19-Nov-09 23:19 
There is something strange going on. I found that not only the EmptyClipboard function gives an error 1418(Thread does not have a clipboard open) but also all the functions after that:
SetClipboardData, CloseClipboard, DeleteObject.

It seems like I have forgotten to open the clipboard but I open it successfully as the OpenClipboard(NULL) returns 1. In spite of the fact that all the functions mentioned above give an error, the icon is usually added to my button.

Why can't I open the clipboard as it should be? Could there be another reason for my problem with the Add-in crashes (they appear sometimes) except the clipboard issues?
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
Richard MacCutchan20-Nov-09 0:05
mveRichard MacCutchan20-Nov-09 0:05 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
sirryan20-Nov-09 4:58
sirryan20-Nov-09 4:58 
QuestionMFC,goto definition of XXX Pin
lxkjlzz19-Nov-09 19:32
lxkjlzz19-Nov-09 19:32 
JokeRe: MFC,goto definition of XXX Pin
CPallini19-Nov-09 20:27
mveCPallini19-Nov-09 20:27 
AnswerRe: MFC,goto definition of XXX Pin
m_mun19-Nov-09 20:37
m_mun19-Nov-09 20:37 
GeneralRe: MFC,goto definition of XXX Pin
sashoalm19-Nov-09 20:51
sashoalm19-Nov-09 20:51 
GeneralRe: MFC,goto definition of XXX Pin
lxkjlzz19-Nov-09 20:52
lxkjlzz19-Nov-09 20:52 
AnswerRe: MFC,goto definition of XXX Pin
lxkjlzz19-Nov-09 21:24
lxkjlzz19-Nov-09 21:24 
GeneralRe: MFC,goto definition of XXX Pin
krmed20-Nov-09 0:41
krmed20-Nov-09 0:41 
GeneralRe: MFC,goto definition of XXX Pin
lxkjlzz22-Nov-09 14:47
lxkjlzz22-Nov-09 14:47 
QuestionImage comparison - How to read an image so you can compare pixels? Pin
justabeagle19-Nov-09 19:15
justabeagle19-Nov-09 19:15 
AnswerRe: Image comparison - How to read an image so you can compare pixels? Pin
Game-point19-Nov-09 19:28
Game-point19-Nov-09 19:28 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
justabeagle19-Nov-09 20:10
justabeagle19-Nov-09 20:10 
AnswerRe: Image comparison - How to read an image so you can compare pixels? Pin
«_Superman_»19-Nov-09 19:53
professional«_Superman_»19-Nov-09 19:53 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
justabeagle19-Nov-09 20:13
justabeagle19-Nov-09 20:13 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
«_Superman_»19-Nov-09 20:15
professional«_Superman_»19-Nov-09 20:15 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
justabeagle19-Nov-09 21:11
justabeagle19-Nov-09 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.