Click here to Skip to main content
15,900,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about CPU Usage Pin
Roger Stoltz18-Apr-07 6:26
Roger Stoltz18-Apr-07 6:26 
GeneralRe: about CPU Usage Pin
Mark Salsbery18-Apr-07 6:35
Mark Salsbery18-Apr-07 6:35 
QuestionBitmap [modified] Pin
Vijayan.S17-Apr-07 23:49
Vijayan.S17-Apr-07 23:49 
AnswerRe: Bitmap Pin
Paresh Chitte18-Apr-07 0:15
Paresh Chitte18-Apr-07 0:15 
AnswerRe: Bitmap Pin
Hamid_RT18-Apr-07 1:30
Hamid_RT18-Apr-07 1:30 
QuestionManage Timer on MFC [modified] Pin
CDRAIN17-Apr-07 23:36
CDRAIN17-Apr-07 23:36 
AnswerRe: Manage Timer on MFC Pin
Roger Stoltz18-Apr-07 6:19
Roger Stoltz18-Apr-07 6:19 
GeneralRe: Manage Timer on MFC Pin
CDRAIN19-Apr-07 1:12
CDRAIN19-Apr-07 1:12 
Thanks for the answer, you check perfectelly my problem.
I have read the article you link and I try to implement the first solutiona you've suggested.
I made my CMyThread class derived from CWinThread class and create the thread in my app when I need to call the ActiveX functions.
I have some problem:

1. In code when I need to create the Thread attach this code:

CMyThread * thread = AfxBeginThread(RUNTIME_CLASS(C4Thread));

but at compile-time it said "It's impossible to convert from 'CWinThread *' to 'CMyThread *'.

WHY this?

2. In which method of my CMyThread class I must put the code to peform (the call to the ActiveX functions) or I need to implement a new function? In thi case how?

Thanks a lot.
QuestionRe: Manage Timer on MFC Pin
Roger Stoltz19-Apr-07 1:48
Roger Stoltz19-Apr-07 1:48 
AnswerRe: Manage Timer on MFC [modified] Pin
CDRAIN19-Apr-07 2:45
CDRAIN19-Apr-07 2:45 
GeneralRe: Manage Timer on MFC Pin
Roger Stoltz19-Apr-07 4:23
Roger Stoltz19-Apr-07 4:23 
GeneralRe: Manage Timer on MFC Pin
CDRAIN19-Apr-07 23:34
CDRAIN19-Apr-07 23:34 
GeneralRe: Manage Timer on MFC Pin
Roger Stoltz23-Apr-07 23:53
Roger Stoltz23-Apr-07 23:53 
QuestionHow you size your views? Pin
baerten17-Apr-07 23:11
baerten17-Apr-07 23:11 
AnswerRe: How you size your views? Pin
Mark Salsbery18-Apr-07 6:28
Mark Salsbery18-Apr-07 6:28 
GeneralRe: How you size your views? Pin
baerten18-Apr-07 21:26
baerten18-Apr-07 21:26 
GeneralRe: How you size your views? Pin
Mark Salsbery19-Apr-07 8:07
Mark Salsbery19-Apr-07 8:07 
GeneralRe: How you size your views? Pin
baerten19-Apr-07 23:10
baerten19-Apr-07 23:10 
GeneralRe: How you size your views? Pin
Mark Salsbery20-Apr-07 7:26
Mark Salsbery20-Apr-07 7:26 
Question_splitpath Issue Pin
Programm3r17-Apr-07 22:54
Programm3r17-Apr-07 22:54 
AnswerRe: _splitpath Issue Pin
Cedric Moonen17-Apr-07 23:21
Cedric Moonen17-Apr-07 23:21 
GeneralRe: _splitpath Issue Pin
Programm3r18-Apr-07 0:49
Programm3r18-Apr-07 0:49 
QuestionWhere to create font and set it to owner drawn menu Pin
Atul2317-Apr-07 22:48
Atul2317-Apr-07 22:48 
AnswerRe: Where to create font and set it to owner drawn menu Pin
Hamid_RT18-Apr-07 1:41
Hamid_RT18-Apr-07 1:41 
Questioncolor of a button Pin
p_17-Apr-07 22:20
p_17-Apr-07 22:20 

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.