Click here to Skip to main content
15,917,517 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What is a wrapper class?!! Pin
Christian Graus20-Jun-02 0:43
protectorChristian Graus20-Jun-02 0:43 
GeneralRe: What is a wrapper class?!! Pin
20-Jun-02 1:33
suss20-Jun-02 1:33 
GeneralRe: What is a wrapper class?!! Pin
Christian Graus20-Jun-02 3:07
protectorChristian Graus20-Jun-02 3:07 
AnswerRe: What is a wrapper class?!! Pin
Chris Losinger20-Jun-02 2:43
professionalChris Losinger20-Jun-02 2:43 
AnswerRe: What is a wrapper class?!! Pin
Joaquín M López Muñoz20-Jun-02 2:49
Joaquín M López Muñoz20-Jun-02 2:49 
GeneralRe: What is a wrapper class?!! Pin
yeeeooowww21-Jun-02 0:53
yeeeooowww21-Jun-02 0:53 
GeneralRe: What is a wrapper class?!! Pin
Joaquín M López Muñoz21-Jun-02 3:16
Joaquín M López Muñoz21-Jun-02 3:16 
GeneralCatching excel events inside DLL Pin
Zizilamoroso19-Jun-02 23:53
Zizilamoroso19-Jun-02 23:53 
I've a question about this example: It opens excel and inserts an eventsink to catch the events inside excel.

HOWTO: Catch Microsoft Excel Application Events Using VC++ Q186427
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q186427

I've tried this example using an MFC-EXE, and all works fine. When you press start, the excel application shows up. Clicking with the mouse results in a event messagebox.


But, if you want to include this functionality inside an MFC-DLL, it will not work. Excel shows up alright, but when you click something or press a button, the excel application will block. After a while a messagebox shows up saying: "Microsoft Excel is waiting for another application to complete an OLE action."


Short: using a .exe works fine, but the .dll blocks.

Why?
What's the difference here? (I've used MFC in both cases)




[VISUAL STUDIO 6.0] [MFC] [WIN98/2]

Dead | X| Bluute tette! Dead | X|
GeneralRe: Catching excel events inside DLL Pin
Ramu Pulipati20-Jun-02 1:40
Ramu Pulipati20-Jun-02 1:40 
GeneralRe: Catching excel events inside DLL Pin
Zizilamoroso20-Jun-02 2:42
Zizilamoroso20-Jun-02 2:42 
Generalabout map ( STL ) Pin
Camel19-Jun-02 23:43
Camel19-Jun-02 23:43 
GeneralRe: about map ( STL ) Pin
Niklas L19-Jun-02 23:52
Niklas L19-Jun-02 23:52 
GeneralRe: about map ( STL ) Pin
Camel20-Jun-02 15:21
Camel20-Jun-02 15:21 
GeneralRe: about map ( STL ) Pin
20-Jun-02 3:10
suss20-Jun-02 3:10 
GeneralRe: about map ( STL ) Pin
Camel20-Jun-02 15:22
Camel20-Jun-02 15:22 
Questionhow do I derive a class from a template class? Pin
Klaus Petersen19-Jun-02 23:20
Klaus Petersen19-Jun-02 23:20 
AnswerRe: how do I derive a class from a template class? Pin
19-Jun-02 23:30
suss19-Jun-02 23:30 
GeneralRe: how do I derive a class from a template class? Pin
Klaus Petersen20-Jun-02 0:31
Klaus Petersen20-Jun-02 0:31 
AnswerRe: how do I derive a class from a template class? Pin
Niklas L19-Jun-02 23:48
Niklas L19-Jun-02 23:48 
GeneralRe: how do I derive a class from a template class? Pin
Klaus Petersen19-Jun-02 23:53
Klaus Petersen19-Jun-02 23:53 
GeneralRe: how do I derive a class from a template class? Pin
Niklas L20-Jun-02 1:03
Niklas L20-Jun-02 1:03 
GeneralRe: how do I derive a class from a template class? Pin
Klaus Petersen20-Jun-02 3:10
Klaus Petersen20-Jun-02 3:10 
GeneralRe: how do I derive a class from a template class? Pin
Chad Koehler20-Jun-02 5:15
Chad Koehler20-Jun-02 5:15 
GeneralRe: how do I derive a class from a template class? Pin
Niklas L25-Jun-02 1:57
Niklas L25-Jun-02 1:57 
QuestionAbout CDex? Pin
chen19-Jun-02 23:13
chen19-Jun-02 23:13 

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.