Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Terminating Process Pin
David Crow26-Jul-04 3:46
David Crow26-Jul-04 3:46 
GeneralRe: Terminating Process Pin
GTS202026-Jul-04 5:20
GTS202026-Jul-04 5:20 
GeneralRe: Terminating Process Pin
David Crow26-Jul-04 8:30
David Crow26-Jul-04 8:30 
GeneralGetting the HACCEL handle... Pin
0v3rloader26-Jul-04 2:03
0v3rloader26-Jul-04 2:03 
GeneralRe: Getting the HACCEL handle... Pin
Antony M Kancidrowski26-Jul-04 2:19
Antony M Kancidrowski26-Jul-04 2:19 
GeneralCString Problems Pin
#realJSOP26-Jul-04 0:54
mve#realJSOP26-Jul-04 0:54 
GeneralRe: CString Problems Pin
palbano26-Jul-04 7:33
palbano26-Jul-04 7:33 
Questionno copy constructor? Pin
feline_dracoform26-Jul-04 0:09
feline_dracoform26-Jul-04 0:09 
i am definitely puzzled by this.

i have a small class hierarchy:
result - abstract base class
burnsResult - abstract, derived from result
002burnsResult - concrete, derived from burnsResult
003burnsResult - concrete, derived from burnsResult
textResult - concrete, derived from result

so far so good. the default copy constructor exists for class textResult, but it does not exist for 002burnsResult or 003burnsResult.

i am getting:
error C2582: 'operator =' function is unavailable in 'file'

the VS .NET 2003 help for this error is nice and clear, the only problem is that the word operator does not exist in any of the .h files defining these classes Confused | :confused:

so how come there is a default copy constructor for one class, but not the other two?

i don't really want to define my own copy constructor, since there should be no need. i am mainly a C programmer, so perhaps i have overlooked something obvious. anyone got any ideas on why this is happening?
AnswerRe: no copy constructor? Pin
David Crow26-Jul-04 3:53
David Crow26-Jul-04 3:53 
GeneralRe: no copy constructor? Pin
feline_dracoform27-Jul-04 2:02
feline_dracoform27-Jul-04 2:02 
GeneralRe: no copy constructor? Pin
David Crow27-Jul-04 3:39
David Crow27-Jul-04 3:39 
AnswerRe: no copy constructor? Pin
palbano26-Jul-04 7:53
palbano26-Jul-04 7:53 
GeneralRe: no copy constructor? Pin
feline_dracoform27-Jul-04 1:12
feline_dracoform27-Jul-04 1:12 
Generaldisable a submenu item on runtime in an MFC app Pin
caykahve25-Jul-04 23:35
caykahve25-Jul-04 23:35 
GeneralRe: disable a submenu item on runtime in an MFC app Pin
Anonymous25-Jul-04 23:45
Anonymous25-Jul-04 23:45 
GeneralRe: disable a submenu item on runtime in an MFC app Pin
caykahve25-Jul-04 23:52
caykahve25-Jul-04 23:52 
GeneralRe: disable a submenu item on runtime in an MFC app Pin
V.25-Jul-04 23:47
professionalV.25-Jul-04 23:47 
GeneralRe: disable a submenu item on runtime in an MFC app Pin
caykahve26-Jul-04 0:24
caykahve26-Jul-04 0:24 
Generalmultiple text in status-bar Pin
Anonymous25-Jul-04 23:21
Anonymous25-Jul-04 23:21 
GeneralPosition the mouse on a web browser programmatically Pin
yourbuddy7725-Jul-04 21:22
yourbuddy7725-Jul-04 21:22 
Generalline comparison on word basis Pin
mfc_surfer25-Jul-04 20:46
mfc_surfer25-Jul-04 20:46 
Questiondynamically create controls and attaching listeners to them? Pin
misterbear25-Jul-04 20:23
misterbear25-Jul-04 20:23 
AnswerRe: dynamically create controls and attaching listeners to them? Pin
KarstenK25-Jul-04 21:14
mveKarstenK25-Jul-04 21:14 
GeneralBut how to attach a message handler dynamically? Pin
misterbear26-Jul-04 0:04
misterbear26-Jul-04 0:04 
Questiondynamically create controls and attaching listeners to them? Pin
misterbear25-Jul-04 20:23
misterbear25-Jul-04 20:23 

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.