Click here to Skip to main content
16,004,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help fast... Pin
Ravi Bhavnani15-Aug-04 6:37
professionalRavi Bhavnani15-Aug-04 6:37 
GeneralRe: Need help fast... Pin
Larsson15-Aug-04 6:40
Larsson15-Aug-04 6:40 
GeneralRe: Need help fast... Pin
Ravi Bhavnani15-Aug-04 6:44
professionalRavi Bhavnani15-Aug-04 6:44 
GeneralRe: Need help fast... Pin
Larsson15-Aug-04 6:46
Larsson15-Aug-04 6:46 
Generalsqltype binding Pin
TehMedic15-Aug-04 2:33
TehMedic15-Aug-04 2:33 
GeneralRe: sqltype binding Pin
palbano15-Aug-04 20:08
palbano15-Aug-04 20:08 
GeneralRe: sqltype binding Pin
TehMedic15-Aug-04 20:24
TehMedic15-Aug-04 20:24 
GeneralProperty Page problems Pin
giziks14-Aug-04 22:37
giziks14-Aug-04 22:37 
I am writing an app that has a property sheet and a few property pages. All of the property pages have a list control in them. The app scans through log files and adds the lines found to one of the various property pages list controls. The problem I have is that the app crashes if I havent actually clicked the tab to call initdialog. Yet if I try and do a create in the main applications initdialog then it crashes as well.

Here is basically what I have

m_pPropertySheet = new CPropertySheet("Some sheet");

m_pSomePage = new CSomePage();

m_pPropertySheet->AddPage(m_pSomePage);
m_pPropertySheet->Create(this,WS_CHILD,NULL);
m_pPropertySheet->ShowWindow(TRUE);

if I try create on m_pSomePage then it crashes later on as I try to view it so I am confused at how to initialize it and the list control before someone clicks it which then forces the initdialog to finally be called.



QuestionWhat's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260014-Aug-04 20:01
Link260014-Aug-04 20:01 
AnswerRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 0:51
cmk15-Aug-04 0:51 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 10:18
Link260015-Aug-04 10:18 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 12:41
cmk15-Aug-04 12:41 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 14:12
Link260015-Aug-04 14:12 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 15:11
cmk15-Aug-04 15:11 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 15:37
Link260015-Aug-04 15:37 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 17:09
cmk15-Aug-04 17:09 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 17:20
Link260015-Aug-04 17:20 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 21:43
cmk15-Aug-04 21:43 
AnswerRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
peterchen15-Aug-04 0:54
peterchen15-Aug-04 0:54 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 14:21
Link260015-Aug-04 14:21 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
peterchen15-Aug-04 14:34
peterchen15-Aug-04 14:34 
GeneralLink Problems Pin
Jnewg514-Aug-04 17:11
Jnewg514-Aug-04 17:11 
GeneralRe: Link Problems Pin
Ryan Binns15-Aug-04 18:33
Ryan Binns15-Aug-04 18:33 
GeneralRegistry change event Pin
RoyceF14-Aug-04 16:35
RoyceF14-Aug-04 16:35 
GeneralRe: Registry change event Pin
Scozturk14-Aug-04 22:54
professionalScozturk14-Aug-04 22:54 

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.