Click here to Skip to main content
16,005,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dialog based mfc app Pin
NOMAN KOUSAR28-Oct-04 10:01
sussNOMAN KOUSAR28-Oct-04 10:01 
GeneralRe: dialog based mfc app Pin
ytod28-Oct-04 17:15
ytod28-Oct-04 17:15 
GeneralRe: dialog based mfc app Pin
Aamir Butt28-Oct-04 21:38
Aamir Butt28-Oct-04 21:38 
Generalneed an installation software Pin
includeh1028-Oct-04 7:38
includeh1028-Oct-04 7:38 
GeneralRe: need an installation software Pin
ThatsAlok28-Oct-04 21:25
ThatsAlok28-Oct-04 21:25 
GeneralRe: need an installation software Pin
Member 103111129-Oct-04 0:18
Member 103111129-Oct-04 0:18 
GeneralRe: need an installation software Pin
includeh1029-Oct-04 1:58
includeh1029-Oct-04 1:58 
GeneralMigration of MFC 6.0 application to 7.0 Pin
Migrating To .NET28-Oct-04 7:35
sussMigrating To .NET28-Oct-04 7:35 
I am trying to compile my code that was created VC++ 6.0 with MFC into VC++ 7.0. I am having a few problems. Any help will be greatly appreciated.
1. I am having trouble with templates.
I have following template class
template<class base_type="CWnd">
class CColorCtrl : public BASE_TYPE
{
..
..
}
I get an error C2039 : _GetBaseMessageMap is not a member of CColorCtrl<base_type>
BEGIN_TEMPLATE_MESSAGE_MAP(class BASE_TYPE, CColorCtrl<base_type>, BASE_TYPE)
//{{AFX_MSG_MAP(CColorCtrl)
..
..
//}}AFX_MSG_MAP
END_TEMPLATE_MESSAGE_MAP()

2. I have built Regular DLLs using MFC Dlls which I compiled in 7.0 when I use them with an .EXE that does not have threads, they work fine but when I use them with an .EXE that uses many threads, the .EXE fails at run time, at different places depending on how much work I have in each thread. When I block a lot of functionality and have only a few threads running, the application runs fine but the more threads run at the same time, the application fails for no paritcualr reason at any unreasonable points.

Also, can anyone point me to a website that has information about Migrating with no warnings for the size changes of different data types.
Thank you.
GeneralRe: Migration of MFC 6.0 application to 7.0 Pin
Member 20218605-Jun-05 22:48
Member 20218605-Jun-05 22:48 
GeneralDeSelect the Highlighted text in CEditControl when Focus is Set to that Control Pin
nabil_shams28-Oct-04 6:53
nabil_shams28-Oct-04 6:53 
GeneralRe: DeSelect the Highlighted text in CEditControl when Focus is Set to that Control Pin
Ravi Bhavnani28-Oct-04 7:15
professionalRavi Bhavnani28-Oct-04 7:15 
GeneralRe: DeSelect the Highlighted text in CEditControl when Focus is Set to that Control Pin
nabil_shams28-Oct-04 9:50
nabil_shams28-Oct-04 9:50 
GeneralRe: DeSelect the Highlighted text in CEditControl when Focus is Set to that Control Pin
BlackDice28-Oct-04 7:18
BlackDice28-Oct-04 7:18 
GeneralIIS server Pin
ppp00128-Oct-04 6:45
ppp00128-Oct-04 6:45 
AnswerRe: How to detect GDI resource leak? Pin
Blake Miller28-Oct-04 6:43
Blake Miller28-Oct-04 6:43 
GeneralRe: How to detect GDI resource leak? Pin
Leyu29-Oct-04 9:36
Leyu29-Oct-04 9:36 
GeneralRe: How to detect GDI resource leak? Pin
Blake Miller29-Oct-04 10:24
Blake Miller29-Oct-04 10:24 
QuestionHow to detect GDI resource leak? Pin
bektek28-Oct-04 5:48
bektek28-Oct-04 5:48 
AnswerRe: How to detect GDI resource leak? Pin
David Crow28-Oct-04 6:30
David Crow28-Oct-04 6:30 
Generalapp's memory usage Pin
bektek28-Oct-04 5:45
bektek28-Oct-04 5:45 
GeneralRe: app's memory usage Pin
David Crow28-Oct-04 6:26
David Crow28-Oct-04 6:26 
GeneralRe: app's memory usage Pin
bektek28-Oct-04 9:15
bektek28-Oct-04 9:15 
GeneralRe: app's memory usage Pin
David Crow28-Oct-04 10:49
David Crow28-Oct-04 10:49 
GeneralWriting to an XML file Pin
wcovuaku28-Oct-04 5:39
wcovuaku28-Oct-04 5:39 
GeneralPlease Help: Driving me crazy..... Pin
...---...28-Oct-04 4:43
...---...28-Oct-04 4:43 

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.