Click here to Skip to main content
15,924,318 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncode standardise Pin
deeps_cute22-Apr-07 17:31
deeps_cute22-Apr-07 17:31 
AnswerRe: code standardise Pin
_AnsHUMAN_ 22-Apr-07 18:40
_AnsHUMAN_ 22-Apr-07 18:40 
GeneralRe: code standardise Pin
deeps_cute22-Apr-07 19:50
deeps_cute22-Apr-07 19:50 
GeneralRe: code standardise Pin
_AnsHUMAN_ 22-Apr-07 20:40
_AnsHUMAN_ 22-Apr-07 20:40 
GeneralRe: code standardise Pin
jeron123-Apr-07 7:08
jeron123-Apr-07 7:08 
QuestionDAO database Pin
dec8222-Apr-07 17:09
dec8222-Apr-07 17:09 
AnswerRe: DAO database Pin
Mark Salsbery23-Apr-07 6:37
Mark Salsbery23-Apr-07 6:37 
Questionerror C2440 Pin
Aint22-Apr-07 16:45
Aint22-Apr-07 16:45 
Hi.

I am having this error and I don't know what to do with it.. Please help.
error C2440: 'initializing' : cannot convert from 'class CDocument *' to 'class CVector_3DDoc *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

When I double clicked on the error, it points to this code: CCVector_3DDoc* pDoc = GetDocument();

What is wrong with this code? class CVector_3DDoc is a class that I have added with the base class as CDocument. Thanks.

AnswerRe: error C2440 Pin
David Crow22-Apr-07 17:03
David Crow22-Apr-07 17:03 
GeneralRe: error C2440 Pin
Aint22-Apr-07 17:43
Aint22-Apr-07 17:43 
GeneralRe: error C2440 Pin
David Crow23-Apr-07 3:11
David Crow23-Apr-07 3:11 
AnswerRe: error C2440 Pin
vibindia22-Apr-07 18:03
vibindia22-Apr-07 18:03 
GeneralRe: error C2440 Pin
Aint22-Apr-07 18:30
Aint22-Apr-07 18:30 
GeneralRe: error C2440 Pin
Mark Salsbery23-Apr-07 6:40
Mark Salsbery23-Apr-07 6:40 
QuestionProblem Redirecting output of command in _execl Pin
GameProfessor22-Apr-07 16:44
GameProfessor22-Apr-07 16:44 
AnswerRe: Problem Redirecting output of command in _execl Pin
David Crow22-Apr-07 17:05
David Crow22-Apr-07 17:05 
QuestionMeasure string's length Pin
LiYS22-Apr-07 15:49
LiYS22-Apr-07 15:49 
AnswerRe: Measure string's length Pin
Michael Dunn22-Apr-07 16:09
sitebuilderMichael Dunn22-Apr-07 16:09 
QuestionPointers and arrays Pin
sawerr22-Apr-07 9:56
sawerr22-Apr-07 9:56 
AnswerRe: Pointers and arrays Pin
sisira22-Apr-07 10:09
sisira22-Apr-07 10:09 
AnswerRe: Pointers and arrays Pin
Michael Dunn22-Apr-07 16:11
sitebuilderMichael Dunn22-Apr-07 16:11 
QuestionMutual Include Pin
ytod22-Apr-07 5:26
ytod22-Apr-07 5:26 
AnswerRe: Mutual Include Pin
bob1697222-Apr-07 6:07
bob1697222-Apr-07 6:07 
QuestionHelp About RTC Pin
kcynic22-Apr-07 3:07
kcynic22-Apr-07 3:07 
AnswerRe: Help About RTC Pin
Mark Salsbery22-Apr-07 7:00
Mark Salsbery22-Apr-07 7:00 

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.