Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUsing an edit box from other file. Help needed!! Pin
satcat10-Feb-04 12:30
satcat10-Feb-04 12:30 
GeneralSubclassing or Derviving Pin
monrobot1310-Feb-04 12:27
monrobot1310-Feb-04 12:27 
GeneralRe: Subclassing or Derviving Pin
John R. Shaw10-Feb-04 12:49
John R. Shaw10-Feb-04 12:49 
GeneralRe: Subclassing or Derviving Pin
mcsweeneyd10-Feb-04 15:38
mcsweeneyd10-Feb-04 15:38 
GeneralRe: Subclassing or Derviving Pin
monrobot1311-Feb-04 10:04
monrobot1311-Feb-04 10:04 
GeneralStrange memory overrun Pin
John R. Shaw10-Feb-04 10:43
John R. Shaw10-Feb-04 10:43 
GeneralRe: Strange memory overrun Pin
Tom Larsen10-Feb-04 11:30
Tom Larsen10-Feb-04 11:30 
GeneralRe: Strange memory overrun Pin
John R. Shaw10-Feb-04 12:37
John R. Shaw10-Feb-04 12:37 
Thanks!Big Grin | :-D

D'Oh! | :doh: My brain must have been out to lunch! As soon as I read your answer it all became clear. Why I did not realize this for myself, I do not know.

Tom Larsen wrote:
- Shouldn't the compiler complain that definition for CTestClass2 is not terminated by a ; ?

:-DSorry about that! It was just an illustration of the problem, not the actual code that created it.

Tom Larsen wrote:
As I said, its bad mojo to have precompiler directives in the middle of your definition. You really should avoid it to avoid problems just like this.

Normaly I do not do this sort of thing. In this case, however, the code used to generate some data for analisys required direct access to member variables to produce the required charts.

I do not like the solution I came up with and will try to find a better way.

Thanks again!Big Grin | :-D



INTP
GeneralRe: Strange memory overrun Pin
Tom Larsen11-Feb-04 5:00
Tom Larsen11-Feb-04 5:00 
QuestionHow to adding "Start parameters" to a Window service Pin
sysmatrix10-Feb-04 10:09
sysmatrix10-Feb-04 10:09 
AnswerRe: How to adding "Start parameters" to a Window service Pin
Peter Weyzen10-Feb-04 11:31
Peter Weyzen10-Feb-04 11:31 
GeneralDoubts with sorting stl vector... Pin
Cloaca10-Feb-04 9:32
Cloaca10-Feb-04 9:32 
GeneralRe: Doubts with sorting stl vector... Pin
David Crow10-Feb-04 10:05
David Crow10-Feb-04 10:05 
GeneralRe: Doubts with sorting stl vector... Pin
Cloaca10-Feb-04 10:14
Cloaca10-Feb-04 10:14 
GeneralRe: Doubts with sorting stl vector... Pin
David Crow10-Feb-04 10:34
David Crow10-Feb-04 10:34 
GeneralRe: Doubts with sorting stl vector... Pin
Cloaca11-Feb-04 6:48
Cloaca11-Feb-04 6:48 
GeneralRe: Doubts with sorting stl vector... Pin
valikac10-Feb-04 10:07
valikac10-Feb-04 10:07 
GeneralRe: Doubts with sorting stl vector... Pin
Cloaca10-Feb-04 10:18
Cloaca10-Feb-04 10:18 
GeneralRe: Doubts with sorting stl vector... Pin
jhwurmbach11-Feb-04 1:51
jhwurmbach11-Feb-04 1:51 
GeneralRe: Doubts with sorting stl vector... Pin
Cloaca11-Feb-04 6:57
Cloaca11-Feb-04 6:57 
GeneralRe: Doubts with sorting stl vector... Pin
antlers11-Feb-04 11:37
antlers11-Feb-04 11:37 
GeneralRe: Doubts with sorting stl vector... Pin
Cloaca12-Feb-04 4:22
Cloaca12-Feb-04 4:22 
Generalfatal crash on win98 & winMe, Need help. Pin
haritadala10-Feb-04 7:43
haritadala10-Feb-04 7:43 
GeneralRe: fatal crash on win98 & winMe, Need help. Pin
David Crow10-Feb-04 7:49
David Crow10-Feb-04 7:49 
GeneralRe: fatal crash on win98 & winMe, Need help. Pin
haritadala10-Feb-04 8:40
haritadala10-Feb-04 8:40 

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.