Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I want VirtualDub!!! Pin
Jason Hooper20-Jul-02 2:07
Jason Hooper20-Jul-02 2:07 
QuestionMFC To ATL problems ?????? Pin
Leesen19-Jul-02 18:04
Leesen19-Jul-02 18:04 
AnswerRe: MFC To ATL problems ?????? Pin
Christian Graus19-Jul-02 21:59
protectorChristian Graus19-Jul-02 21:59 
GeneralRe: MFC To ATL problems ?????? Pin
Leesen20-Jul-02 0:00
Leesen20-Jul-02 0:00 
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus20-Jul-02 0:17
protectorChristian Graus20-Jul-02 0:17 
GeneralRe: MFC To ATL problems ?????? Pin
Leesen20-Jul-02 4:11
Leesen20-Jul-02 4:11 
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus20-Jul-02 12:53
protectorChristian Graus20-Jul-02 12:53 
GeneralRe: MFC To ATL problems ?????? Pin
Leesen22-Jul-02 18:21
Leesen22-Jul-02 18:21 
I plan to copy all the MFC Class ,Including GUI Class ,such as Frmae,View, to the Atl Project .And it can be complied successfully. Then I can further modify the Atl project based on that. I will add some interface in Atl project to call function instead of the automation message loop . In this way , I think I could let the Atl dll run in VB GUI,with his own GUI (Frame ,view,Dialog ) just loaded in memory and not shown.
This is my idea . What do you think of it ? I just want to get a general structrue ,and then I can modify the Atl code into more simple project,such as change Frame,view into other substitutes. In this way ,I can achieve my goal.
Expecting your advice.

Now I have copied all the MFC Class ,Including GUI Class ,such as Frmae,View,from the MFC Project to the Atl Project .And it can be complied successfully.
But when I attempt to register the DLL I get the following error:
Debug Assertion Failed!
Program: C:\WINNT\System32\regsvr32.exe
File: D:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP
Line: 85
Expression: ASSERT(AfxGetThread() == NULL);
So what does this really tell me and what can I do to correct it?

Any ideas???
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus22-Jul-02 18:46
protectorChristian Graus22-Jul-02 18:46 
GeneralRe: MFC To ATL problems ?????? Pin
Leesen29-Jul-02 5:09
Leesen29-Jul-02 5:09 
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus29-Jul-02 13:58
protectorChristian Graus29-Jul-02 13:58 
GeneralRe: MFC To ATL problems ?????? Pin
Tim Smith20-Jul-02 4:57
Tim Smith20-Jul-02 4:57 
GeneralRe: MFC To ATL problems ?????? Pin
Christian Graus20-Jul-02 12:54
protectorChristian Graus20-Jul-02 12:54 
GeneralADO/Oracle and _RecordsetPtr Pin
rvicta19-Jul-02 17:29
professionalrvicta19-Jul-02 17:29 
GeneralRe: ADO/Oracle and _RecordsetPtr Pin
Carlos Antollini19-Jul-02 20:43
Carlos Antollini19-Jul-02 20:43 
GeneralRe: ADO/Oracle and _RecordsetPtr Pin
rvicta20-Jul-02 15:42
professionalrvicta20-Jul-02 15:42 
GeneralRe: ADO/Oracle and _RecordsetPtr Pin
Carlos Antollini20-Jul-02 17:11
Carlos Antollini20-Jul-02 17:11 
Generaldynamically add styles Pin
Steve L.19-Jul-02 17:28
Steve L.19-Jul-02 17:28 
GeneralRe: dynamically add styles Pin
Gary R. Wheeler21-Jul-02 4:27
Gary R. Wheeler21-Jul-02 4:27 
GeneralXML and ODBC Pin
Tony Fontenot19-Jul-02 17:15
Tony Fontenot19-Jul-02 17:15 
GeneralRe: XML and ODBC Pin
Gerald Schwab19-Jul-02 17:32
Gerald Schwab19-Jul-02 17:32 
GeneralGame Developement Pin
merlin987619-Jul-02 15:51
merlin987619-Jul-02 15:51 
GeneralRe: Game Developement Pin
alex.barylski19-Jul-02 16:02
alex.barylski19-Jul-02 16:02 
GeneralRe: Game Developement Pin
Carlos Antollini19-Jul-02 20:47
Carlos Antollini19-Jul-02 20:47 
GeneralRe: Game Developement Pin
Michael P Butler19-Jul-02 21:46
Michael P Butler19-Jul-02 21:46 

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.