Click here to Skip to main content
15,906,569 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I need this answer too. Please explain me Pin
Marc Holenz28-Oct-01 20:54
Marc Holenz28-Oct-01 20:54 
Generalfinal proect for C++ suggestions Pin
24-Oct-01 17:43
suss24-Oct-01 17:43 
GeneralRe: final proect for C++ suggestions Pin
Nish Nishant24-Oct-01 19:56
sitebuilderNish Nishant24-Oct-01 19:56 
QuestionHow to implement this form? Pin
Speed_cn24-Oct-01 16:50
Speed_cn24-Oct-01 16:50 
AnswerRe: How to implement this form? Pin
Christian Graus24-Oct-01 17:04
protectorChristian Graus24-Oct-01 17:04 
GeneralRe: How to implement this form? Pin
24-Oct-01 17:13
suss24-Oct-01 17:13 
GeneralRe: How to implement this form? Pin
Christian Graus24-Oct-01 18:06
protectorChristian Graus24-Oct-01 18:06 
GeneralRe: How to implement this form? Pin
Nish Nishant24-Oct-01 19:58
sitebuilderNish Nishant24-Oct-01 19:58 
GeneralPlugIn For Microsoft Outlook Pin
24-Oct-01 16:12
suss24-Oct-01 16:12 
QuestionHow to do in VC call VB Data Pin
mornlee24-Oct-01 15:50
mornlee24-Oct-01 15:50 
GeneralMDI Without DocView Pin
Christopher Lord24-Oct-01 14:25
Christopher Lord24-Oct-01 14:25 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:33
protectorChristian Graus24-Oct-01 14:33 
GeneralRe: MDI Without DocView Pin
Christopher Lord24-Oct-01 14:39
Christopher Lord24-Oct-01 14:39 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:44
protectorChristian Graus24-Oct-01 14:44 
QuestionVC++ copy variables data? Pin
Todd Smith24-Oct-01 13:36
Todd Smith24-Oct-01 13:36 
AnswerRe: VC++ copy variables data? Pin
The_Server24-Oct-01 22:35
The_Server24-Oct-01 22:35 
GeneralFormatting Double Pin
AJ12324-Oct-01 12:20
AJ12324-Oct-01 12:20 
GeneralRe: Formatting Double Pin
Christian Graus24-Oct-01 12:28
protectorChristian Graus24-Oct-01 12:28 
Generalwsprintf does not work with doubles Pin
Tomasz Sowinski25-Oct-01 1:14
Tomasz Sowinski25-Oct-01 1:14 
GeneralRe: Formatting Double Pin
Mike Burston24-Oct-01 12:52
Mike Burston24-Oct-01 12:52 
General"STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 11:37
suss24-Oct-01 11:37 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Christian Graus24-Oct-01 11:47
protectorChristian Graus24-Oct-01 11:47 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 19:28
suss24-Oct-01 19:28 
Dear Christian and Michael,

Thank you for your helpful suggestion. I added #include "afxtempl.h" as
Michael said and there is no more errors. The original errors are not due to STL. Very sorry for this. In fact, there are some parts using STL in my code
such as

struct TrackedFeature {
CvPoint2D32f m_cvPoint;
int m_videoframe_index;
};

typedef std::list<trackedfeature> CvFeaturesList;
typedef CvFeaturesList::iterator CvFeaturesList_It;

I made a mistake to think the error is from STL. I am sorry, STL. Smile | :)

Now, I have another question, maybe caused by my not-so-good programming
skills. That is, I want to make my View and Doc class in a "MFC exe " project as a DLL to be used by other projects. But in the code, I need to get the
point of the "Application" (by AfxGetApp()). Since there are some project-specific memebers to be used in the class of "***App", such as a point to
another view class, it makes me unable to visit such members by just geting
a CWinApp using AfxGetApp(). What I am wondering is how I can get around with this. I think this problem is completely caused by my bad programming way.
But there is no much time left, so I hope no much modification needed.

I don't know if I said my question clearly. Wish to get your further suggestions. Anyway, thank you very much for your help on my last problem
and I will try to solve the new problem myself independently. I should not
always bother others with some maybe too trival questions Smile | :) But it's better
if I could get suggestions from you, the code gurusSmile | :)

Thank you very much again.

Best regards,


Cheng LEI
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 19:44
sitebuilderMichael Dunn24-Oct-01 19:44 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 20:23
suss24-Oct-01 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.