Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetting RuntimeClass of a CObject Derived Class Pin
MightyThor15-Jul-02 12:16
MightyThor15-Jul-02 12:16 
GeneralRe: Getting RuntimeClass of a CObject Derived Class Pin
Christian Graus15-Jul-02 12:34
protectorChristian Graus15-Jul-02 12:34 
GeneralRe: Getting RuntimeClass of a CObject Derived Class Pin
Roman Fadeyev15-Jul-02 19:03
Roman Fadeyev15-Jul-02 19:03 
GeneralRe: Getting RuntimeClass of a CObject Derived Class Pin
Christian Graus15-Jul-02 19:13
protectorChristian Graus15-Jul-02 19:13 
GeneralRe: Getting RuntimeClass of a CObject Derived Class Pin
MightyThor15-Jul-02 23:35
MightyThor15-Jul-02 23:35 
Generalexcel automation, hprocess is not closing Pin
pnpfriend15-Jul-02 12:10
pnpfriend15-Jul-02 12:10 
Generalplease...... Pin
pnpfriend16-Jul-02 2:44
pnpfriend16-Jul-02 2:44 
GeneralRe: excel automation, hprocess is not closing Pin
Richard Ellis16-Jul-02 14:05
Richard Ellis16-Jul-02 14:05 
G'Day Win,

I use the same code successfully. What I discovered was that as I developed the application I would run it and terminate it prematurely with Excel open. This of course did not close down excel properly. So that when I started the application again I had 2 versions of excel running etc. Thus when I had a 'real' excel application running and I tested my program and shut excel down this code failed because I had closed down a different excel to the one being watched. I think this is what may be happening in your case. So terminate all excel processes with task manager, run excel and then your application and see if it works then.

Hope that is of some help,

Richard.
GeneralRe: excel automation, hprocess is not closing Pin
pnpfriend17-Jul-02 3:39
pnpfriend17-Jul-02 3:39 
Generalderive a class from my tree control Pin
Steve L.15-Jul-02 11:39
Steve L.15-Jul-02 11:39 
GeneralRe: derive a class from my tree control Pin
Joaquín M López Muñoz15-Jul-02 11:43
Joaquín M López Muñoz15-Jul-02 11:43 
GeneralRe: derive a class from my tree control Pin
Steve L.15-Jul-02 11:50
Steve L.15-Jul-02 11:50 
GeneralRe: derive a class from my tree control Pin
Joaquín M López Muñoz15-Jul-02 12:01
Joaquín M López Muñoz15-Jul-02 12:01 
GeneralRe: derive a class from my tree control Pin
Steve L.15-Jul-02 12:08
Steve L.15-Jul-02 12:08 
GeneralUsing CRecordset Pin
achandra00715-Jul-02 10:23
achandra00715-Jul-02 10:23 
GeneralRe: Using CRecordset Pin
Ranjan Banerji15-Jul-02 11:02
Ranjan Banerji15-Jul-02 11:02 
GeneralRe: Using CRecordset Pin
achandra00715-Jul-02 11:39
achandra00715-Jul-02 11:39 
GeneralComboBoxEx with DropList style problem Pin
Maciek Niedzielski15-Jul-02 10:10
Maciek Niedzielski15-Jul-02 10:10 
QuestionHow to make invisible CEdit visisble with code? Pin
ns15-Jul-02 10:09
ns15-Jul-02 10:09 
Answernevermind - I got it! Pin
ns15-Jul-02 10:15
ns15-Jul-02 10:15 
GeneralOpening a serial COM port Pin
dorin15-Jul-02 9:47
dorin15-Jul-02 9:47 
GeneralRe: Opening a serial COM port Pin
Joaquín M López Muñoz15-Jul-02 9:58
Joaquín M López Muñoz15-Jul-02 9:58 
GeneralWeird Acception Violation :: MFC Pin
valikac15-Jul-02 9:35
valikac15-Jul-02 9:35 
GeneralRe: Weird Acception Violation :: MFC Pin
Joaquín M López Muñoz15-Jul-02 9:50
Joaquín M López Muñoz15-Jul-02 9:50 
GeneralRe: Weird Acception Violation :: MFC Pin
valikac15-Jul-02 10:45
valikac15-Jul-02 10:45 

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.