Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How should I create a HTMLDocument instance using COM Pin
Big Art13-Mar-03 6:29
Big Art13-Mar-03 6:29 
GeneralRe: How should I create a HTMLDocument instance using COM Pin
Joan M13-Mar-03 6:38
professionalJoan M13-Mar-03 6:38 
GeneralRe: How should I create a HTMLDocument instance using COM Pin
Big Art13-Mar-03 6:50
Big Art13-Mar-03 6:50 
GeneralRe: How should I create a HTMLDocument instance using COM Pin
Joan M13-Mar-03 7:02
professionalJoan M13-Mar-03 7:02 
GeneralDefaultIcon Pin
-Dy13-Mar-03 3:50
-Dy13-Mar-03 3:50 
GeneralRe: DefaultIcon Pin
TomKat14-Mar-03 15:10
TomKat14-Mar-03 15:10 
GeneralWarnings about string.h Pin
kalamatianos13-Mar-03 3:45
kalamatianos13-Mar-03 3:45 
GeneralThis is a real tough one! Pin
will138313-Mar-03 3:36
will138313-Mar-03 3:36 
Hi everyone. You're not gonna like this one. I know I don't But I have to figure it out and I'm really stumped. I hope there is someone here who can helpUnsure | :~

here's the situation:

I've created an MFC Dll that contains some dialog boxes does A,B & C. It uses CDialog and CWinApp (remember this). This Dll is called by an application.

Now here's the Big problem. The application calling the MFC dll is an Xvision App (running through an Xwindows converter called Nutcracker) on a windows P.C. Dead | X| My problem is that the message loops from the CWinThread (parent of CWinApp) and in CWnd (parent of CDialog) don't allow the XWindows message loop to be processed.

I've done this before but the dlls I used didn't have the message loop in them, so I was able to create a message loop in the "Xwindows conversion" which allowed me to insert a trigger (XtAppAddTimeOut(...) ) that would allow the Xwindows messages to be processed.

I'm stuck with this method at the moment. I know it stinks but that's what I have to work with.

If ANYONE has ANY comments or suggestions (even if it's a comment on how much of a kludge this is Laugh | :laugh: ) Please please let me know.

Thank you in advance!

Dan Willis
GeneralRe: This is a real tough one! Pin
will138313-Mar-03 5:15
will138313-Mar-03 5:15 
GeneralCComboBox and AddString Pin
ns13-Mar-03 3:24
ns13-Mar-03 3:24 
GeneralRe: CComboBox and AddString Pin
Joan M13-Mar-03 3:30
professionalJoan M13-Mar-03 3:30 
GeneralTrying to create an MDI application Pin
Spamdogg13-Mar-03 3:12
Spamdogg13-Mar-03 3:12 
GeneralRe: Trying to create an MDI application Pin
will138313-Mar-03 3:57
will138313-Mar-03 3:57 
GeneralRe: Trying to create an MDI application Pin
Spamdogg13-Mar-03 8:17
Spamdogg13-Mar-03 8:17 
GeneralRe: Trying to create an MDI application Pin
Brian Shifrin13-Mar-03 9:05
Brian Shifrin13-Mar-03 9:05 
QuestionHow to set ip for network card with software? Pin
white jungle13-Mar-03 3:09
white jungle13-Mar-03 3:09 
AnswerRe: How to set ip for network card with software? Pin
Joseph Dempsey13-Mar-03 8:06
Joseph Dempsey13-Mar-03 8:06 
QuestionHow to customize a Windows Media player? Pin
DengJW13-Mar-03 3:08
DengJW13-Mar-03 3:08 
GeneralFATAL Compiler error 'msc1.cpp' line 2844 Pin
Jonathan de Halleux13-Mar-03 3:03
Jonathan de Halleux13-Mar-03 3:03 
GeneralSDI CTreeView question... Pin
RobJones13-Mar-03 2:52
RobJones13-Mar-03 2:52 
GeneralRe: SDI CTreeView question... Pin
Iain Clarke, Warrior Programmer13-Mar-03 3:16
Iain Clarke, Warrior Programmer13-Mar-03 3:16 
GeneralRe: SDI CTreeView question... Pin
RobJones13-Mar-03 4:55
RobJones13-Mar-03 4:55 
GeneralRe: SDI CTreeView question... Pin
Iain Clarke, Warrior Programmer13-Mar-03 6:18
Iain Clarke, Warrior Programmer13-Mar-03 6:18 
GeneralNM I figured it out... THANKS! Pin
RobJones13-Mar-03 6:02
RobJones13-Mar-03 6:02 
GeneralDEBUG / RELEASE PROBLEM Pin
SankaranPV13-Mar-03 2:34
SankaranPV13-Mar-03 2:34 

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.