Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMake an array of words from a sentence? Pin
Tryhard18-Sep-01 20:47
Tryhard18-Sep-01 20:47 
AnswerRe: Make an array of words from a sentence? Pin
Christian Graus18-Sep-01 22:30
protectorChristian Graus18-Sep-01 22:30 
GeneralWin32 edit box problems Pin
Christian Graus18-Sep-01 20:26
protectorChristian Graus18-Sep-01 20:26 
GeneralRe: Win32 edit box problems Pin
18-Sep-01 22:19
suss18-Sep-01 22:19 
GeneralRe: Win32 edit box problems Pin
Christian Graus18-Sep-01 22:25
protectorChristian Graus18-Sep-01 22:25 
GeneralRe: Win32 edit box problems Pin
Paul A. Howes19-Sep-01 3:05
Paul A. Howes19-Sep-01 3:05 
QuestionHow can I programmatically insert an OLE objects (or image) into RTF control??? Pin
Youknowme18-Sep-01 18:22
Youknowme18-Sep-01 18:22 
GeneralThread and ActiveX component Pin
Farah Mansor18-Sep-01 18:13
Farah Mansor18-Sep-01 18:13 
I have 3 classes:
class A - dialog class
class B - thread class
class C - ActiveX class (included in dialog)
(the activeX component is a socket component and I create one variable for it in dialog class)

The scenario is like this:
The dialog will be initialized. The application will winsock other application. After it receive a data from socket component, it will initiate the thread. The thread then will call one method in dialog class which is using socket component. What the method (inside dialog class) should do here is, it will check the connection status. But it failed (it gives me runtime error - access violation error)

The question is:
1) How can I call method in class C(activeX component) straight from class B??
2) If cannot call directly from class B, where can I call the method? I try to call from class A but it failed. so can anybody help me to resolve on this.
I want to use the thread for checking the status connection.

Thanks in advance.Smile | :)

FM
GeneralRe: Thread and ActiveX component Pin
Ghazi H. Wadi19-Sep-01 14:01
Ghazi H. Wadi19-Sep-01 14:01 
GeneralRe: Thread and ActiveX component Pin
Farah Mansor19-Sep-01 15:32
Farah Mansor19-Sep-01 15:32 
GeneralRe: Thread and ActiveX component Pin
Ghazi H. Wadi19-Sep-01 16:52
Ghazi H. Wadi19-Sep-01 16:52 
GeneralRe: Thread and ActiveX component Pin
Farah Mansor19-Sep-01 21:04
Farah Mansor19-Sep-01 21:04 
GeneralRe: Thread and ActiveX component Pin
Ghazi H. Wadi20-Sep-01 12:46
Ghazi H. Wadi20-Sep-01 12:46 
GeneralRe: Thread and ActiveX component Pin
Farah Mansor20-Sep-01 15:58
Farah Mansor20-Sep-01 15:58 
GeneralRe: Thread and ActiveX component Pin
Ghazi H. Wadi21-Sep-01 16:09
Ghazi H. Wadi21-Sep-01 16:09 
GeneralRe: Thread and ActiveX component Pin
24-Sep-01 19:47
suss24-Sep-01 19:47 
Generalconsecutive sums Pin
minikg18-Sep-01 15:38
minikg18-Sep-01 15:38 
GeneralRe: consecutive sums Pin
Christian Graus18-Sep-01 16:02
protectorChristian Graus18-Sep-01 16:02 
GeneralRe: consecutive sums Pin
minikg18-Sep-01 16:04
minikg18-Sep-01 16:04 
GeneralRe: consecutive sums Pin
minikg19-Sep-01 12:28
minikg19-Sep-01 12:28 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 12:47
protectorChristian Graus19-Sep-01 12:47 
GeneralRe: consecutive sums Pin
minikg19-Sep-01 13:22
minikg19-Sep-01 13:22 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 14:23
protectorChristian Graus19-Sep-01 14:23 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 14:40
protectorChristian Graus19-Sep-01 14:40 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 14:42
protectorChristian Graus19-Sep-01 14:42 

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.