Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ [modified] Pin
RahulOP4-Jun-06 18:36
RahulOP4-Jun-06 18:36 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 22:24
Hamid_RT4-Jun-06 22:24 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 22:38
RahulOP4-Jun-06 22:38 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 22:54
Hamid_RT4-Jun-06 22:54 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 22:57
RahulOP4-Jun-06 22:57 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 23:02
Hamid_RT4-Jun-06 23:02 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 23:12
RahulOP4-Jun-06 23:12 
QuestionDevice context trouble Pin
shivditya1-Jun-06 20:29
shivditya1-Jun-06 20:29 
I am stuck in device context trouble.
Right now I am conclusion it will be worth to get directly
desktop dc for generic class.
If any body can suggest me way for passing device context to generic class
through thread function or getting desktop dc directly for drawing in generic class.



Here simulate is generic class and the nextpos function is doing lot of drawing stuff.and it needs device context,I have developed SDI application.
and used CView as base.

UINT CMy5CYLINDERView::ThreadFunc(LPVOID pParam)
{
CWnd *cwnd,*cwnd1;
cwnd1 = cwnd->GetWindow(1);
CDC* pDC = cwnd1->GetDC();
simulate* eng = (simulate*)pParam;
eng->nextpos(pDC);
// eng->nextpos(pszWindow);
return 0;

}

void CMy5CYLINDERView::support()
{
for(int ii = 0;ii <= 3;ii++)
{
x[ii] = AfxBeginThread(ThreadFunc,(LPVOID)&engine[ii]);

}
}.

|| ART OF LIVING ||
AnswerRe: Device context trouble Pin
Hamid_RT1-Jun-06 20:43
Hamid_RT1-Jun-06 20:43 
GeneralRe: Device context trouble Pin
shivditya1-Jun-06 21:10
shivditya1-Jun-06 21:10 
GeneralRe: Device context trouble Pin
Hamid_RT1-Jun-06 21:35
Hamid_RT1-Jun-06 21:35 
GeneralRe: Device context trouble Pin
shivditya1-Jun-06 21:44
shivditya1-Jun-06 21:44 
Questionprogram executing error Pin
Y_Kaushik1-Jun-06 19:53
Y_Kaushik1-Jun-06 19:53 
QuestionRe: program executing error Pin
Hamid_RT1-Jun-06 20:12
Hamid_RT1-Jun-06 20:12 
AnswerRe: program executing error Pin
toxcct1-Jun-06 21:49
toxcct1-Jun-06 21:49 
QuestionClosing a invisible web browser Pin
KongHL1-Jun-06 19:47
KongHL1-Jun-06 19:47 
AnswerRe: Closing a invisible web browser Pin
Benoy Bose1-Jun-06 20:33
Benoy Bose1-Jun-06 20:33 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 21:15
KongHL1-Jun-06 21:15 
AnswerRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 21:59
ThatsAlok1-Jun-06 21:59 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 22:09
KongHL1-Jun-06 22:09 
GeneralRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 22:13
ThatsAlok1-Jun-06 22:13 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 22:18
KongHL1-Jun-06 22:18 
GeneralRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 23:42
ThatsAlok1-Jun-06 23:42 
QuestionSDL screen in MFC applcation Pin
Manjunath S1-Jun-06 19:43
Manjunath S1-Jun-06 19:43 
QuestionRe: SDL screen in MFC applcation Pin
Hamid_RT1-Jun-06 20:11
Hamid_RT1-Jun-06 20: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.