Click here to Skip to main content
15,925,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: x86 Platform Pin
JudyL_MD19-Apr-07 3:15
JudyL_MD19-Apr-07 3:15 
GeneralRe: x86 Platform Pin
Sunshine Always19-Apr-07 19:05
Sunshine Always19-Apr-07 19:05 
GeneralRe: x86 Platform Pin
JudyL_MD20-Apr-07 2:25
JudyL_MD20-Apr-07 2:25 
QuestionInheritance Pin
Kiran Pinjala19-Apr-07 1:52
Kiran Pinjala19-Apr-07 1:52 
AnswerRe: Inheritance Pin
CPallini19-Apr-07 1:57
mveCPallini19-Apr-07 1:57 
GeneralRe: Inheritance Pin
Kiran Pinjala19-Apr-07 2:02
Kiran Pinjala19-Apr-07 2:02 
QuestionMFC Pin
SumitMandal19-Apr-07 1:32
SumitMandal19-Apr-07 1:32 
AnswerRe: MFC Pin
Joan M19-Apr-07 1:41
professionalJoan M19-Apr-07 1:41 
AnswerRe: MFC Pin
jhwurmbach19-Apr-07 1:42
jhwurmbach19-Apr-07 1:42 
AnswerRe: MFC Pin
CPallini19-Apr-07 1:52
mveCPallini19-Apr-07 1:52 
AnswerRe: MFC Pin
Paresh Chitte19-Apr-07 2:23
Paresh Chitte19-Apr-07 2:23 
AnswerRe: MFC Pin
Maximilien19-Apr-07 2:34
Maximilien19-Apr-07 2:34 
AnswerRe: MFC Pin
Mark Salsbery19-Apr-07 9:06
Mark Salsbery19-Apr-07 9:06 
QuestionCWinThread use Pin
CDRAIN19-Apr-07 1:15
CDRAIN19-Apr-07 1:15 
I need to call ActiveX function from a thread so while it elaborate my app can go on.
I made my CMyThread class derived from CWinThread class, in which I 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.
AnswerRe: CWinThread use Pin
Roger Stoltz19-Apr-07 2:17
Roger Stoltz19-Apr-07 2:17 
AnswerRe: CWinThread use Pin
bob1697219-Apr-07 3:36
bob1697219-Apr-07 3:36 
GeneralRe: CWinThread use Pin
CDRAIN19-Apr-07 4:32
CDRAIN19-Apr-07 4:32 
GeneralRe: CWinThread use Pin
bob1697219-Apr-07 6:33
bob1697219-Apr-07 6:33 
QuestionHow to Change top menu font ? Pin
Atul2319-Apr-07 0:57
Atul2319-Apr-07 0:57 
AnswerRe: How to Change top menu font ? Pin
Hamid_RT19-Apr-07 1:13
Hamid_RT19-Apr-07 1:13 
Questionfile encoding problem Pin
amitmistry_petlad 19-Apr-07 0:28
amitmistry_petlad 19-Apr-07 0:28 
AnswerRe: file encoding problem Pin
Paresh Chitte19-Apr-07 2:14
Paresh Chitte19-Apr-07 2:14 
GeneralRe: file encoding problem Pin
amitmistry_petlad 19-Apr-07 2:45
amitmistry_petlad 19-Apr-07 2:45 
GeneralRe: file encoding problem Pin
Mark Salsbery19-Apr-07 9:33
Mark Salsbery19-Apr-07 9:33 
GeneralRe: file encoding problem Pin
amitmistry_petlad 22-Apr-07 20:31
amitmistry_petlad 22-Apr-07 20:31 

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.