Click here to Skip to main content
15,889,651 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Stuart Dootson17-Aug-09 6:06
professionalStuart Dootson17-Aug-09 6:06 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 7:24
bob1697217-Aug-09 7:24 
AnswerRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Joe Woodbury17-Aug-09 6:11
professionalJoe Woodbury17-Aug-09 6:11 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 7:33
bob1697217-Aug-09 7:33 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application [modified] Pin
Joe Woodbury17-Aug-09 7:39
professionalJoe Woodbury17-Aug-09 7:39 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 7:58
bob1697217-Aug-09 7:58 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Joe Woodbury17-Aug-09 8:24
professionalJoe Woodbury17-Aug-09 8:24 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 10:07
bob1697217-Aug-09 10:07 
I think I tried suppressing the background thread before and failed but I decided to try this again. This MSDN article appears to discuss the problem but I get a runtime error if I try to implement their code snippet.
Special CWinApp Services[^]

Here on Code Project, this individuals approach to suppressing the background thread (when using GDI+ from a DLL) appears to make the problem go away. I'm not sure what is different about the two since InitInstance is called before CWinThread::Run.
Using GDI+ with MFC or native C/C++[^]

Anyway, thank you for taking some time out to investigate this. We'll see if this approach holds together.

Smile | :)
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Joe Woodbury17-Aug-09 10:16
professionalJoe Woodbury17-Aug-09 10:16 
QuestionGood UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Maximilien17-Aug-09 4:04
Maximilien17-Aug-09 4:04 
AnswerRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Cedric Moonen17-Aug-09 4:06
Cedric Moonen17-Aug-09 4:06 
AnswerRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) [modified] Pin
Luc Pattyn17-Aug-09 4:08
sitebuilderLuc Pattyn17-Aug-09 4:08 
GeneralRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
kiranin17-Aug-09 4:16
kiranin17-Aug-09 4:16 
GeneralRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Luc Pattyn17-Aug-09 4:51
sitebuilderLuc Pattyn17-Aug-09 4:51 
AnswerRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Ahmed Charfeddine17-Aug-09 4:27
Ahmed Charfeddine17-Aug-09 4:27 
QuestionRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Maximilien17-Aug-09 4:29
Maximilien17-Aug-09 4:29 
AnswerRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Ahmed Charfeddine17-Aug-09 4:45
Ahmed Charfeddine17-Aug-09 4:45 
AnswerRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Stuart Dootson17-Aug-09 6:05
professionalStuart Dootson17-Aug-09 6:05 
AnswerRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Bram van Kampen17-Aug-09 14:30
Bram van Kampen17-Aug-09 14:30 
QuestionWhy can't 2 or more boost::thread objects represent the same thread? [modified] Pin
followait17-Aug-09 3:06
followait17-Aug-09 3:06 
AnswerRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Cedric Moonen17-Aug-09 3:34
Cedric Moonen17-Aug-09 3:34 
GeneralRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Stuart Dootson17-Aug-09 3:50
professionalStuart Dootson17-Aug-09 3:50 
AnswerRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Stuart Dootson17-Aug-09 3:54
professionalStuart Dootson17-Aug-09 3:54 
GeneralRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
followait18-Aug-09 1:18
followait18-Aug-09 1:18 
GeneralRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Stuart Dootson18-Aug-09 2:14
professionalStuart Dootson18-Aug-09 2:14 

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.