Click here to Skip to main content
15,921,156 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: delphi VS vc++,which one? Pin
Alan Chambers31-May-02 11:07
Alan Chambers31-May-02 11:07 
GeneralRe: delphi VS vc++,which one? Pin
Alexandru Savescu31-May-02 12:44
Alexandru Savescu31-May-02 12:44 
GeneralRe: delphi VS vc++,which one? Pin
señor codeman6-Jun-02 1:50
señor codeman6-Jun-02 1:50 
AnswerRe: delphi VS vc++,which one? Pin
tiaozi31-May-02 17:50
tiaozi31-May-02 17:50 
GeneralMinimal COM example Pin
slah31-May-02 3:01
slah31-May-02 3:01 
GeneralGetDlgItem crashes Pin
mikeh31-May-02 2:47
mikeh31-May-02 2:47 
GeneralRe: GetDlgItem crashes Pin
31-May-02 4:50
suss31-May-02 4:50 
GeneralRe: GetDlgItem crashes Pin
mikeh31-May-02 5:00
mikeh31-May-02 5:00 
Not directly. The code is housed within a COM component that contains a doc-view framework. The user clicks a toolbar button that creates an instance of a modeless dialog. When the mouse is moved over the dialog items (ie. OnMouseMove()), the example code is triggered to determine what control the mouse is over. The error is an 005 Access Violation which usually means a bad pointer. I'm not sure why the code works fine in debug. I suspect it has something to do with the individual controls. I used classwizard to define member variables for each control. I get further into the code now, but, it still crashes later on. In release mode, it appears that the GetDlgItem() call has trouble if the control is not tied to an actual member variable.
GeneralRe: GetDlgItem crashes Pin
31-May-02 5:35
suss31-May-02 5:35 
GeneralRe: GetDlgItem crashes Pin
mikeh31-May-02 7:47
mikeh31-May-02 7:47 
GeneralRe: GetDlgItem crashes Pin
James R. Twine31-May-02 10:33
James R. Twine31-May-02 10:33 
GeneralProblem with CString::Replace ( LPCTSTR lpszOld, LPCTSTR lpszNew ); Pin
Munkijo31-May-02 2:01
Munkijo31-May-02 2:01 
GeneralRe: Problem with CString::Replace ( LPCTSTR lpszOld, LPCTSTR lpszNew ); Pin
Mazdak31-May-02 2:34
Mazdak31-May-02 2:34 
GeneralRe: Problem with CString::Replace ( LPCTSTR lpszOld, LPCTSTR lpszNew ); Pin
Munkijo31-May-02 7:27
Munkijo31-May-02 7:27 
GeneralRe: Problem with CString::Replace ( LPCTSTR lpszOld, LPCTSTR lpszNew ); Pin
Munkijo31-May-02 7:33
Munkijo31-May-02 7:33 
GeneralRe: Problem with CString::Replace ( LPCTSTR lpszOld, LPCTSTR lpszNew ); Pin
Bill Wilson31-May-02 14:22
Bill Wilson31-May-02 14:22 
GeneralTo Release or Not to Release... Pin
Braulio Dez31-May-02 0:59
Braulio Dez31-May-02 0:59 
GeneralRe: To Release or Not to Release... Pin
Tomasz Sowinski31-May-02 1:21
Tomasz Sowinski31-May-02 1:21 
GeneralRe: To Release or Not to Release... Pin
Len Holgate31-May-02 1:21
Len Holgate31-May-02 1:21 
GeneralRe: To Release or Not to Release... Pin
Tomasz Sowinski31-May-02 2:29
Tomasz Sowinski31-May-02 2:29 
GeneralRe: To Release or Not to Release... Pin
Len Holgate31-May-02 2:28
Len Holgate31-May-02 2:28 
GeneralRe: To Release or Not to Release... Pin
Len Holgate31-May-02 1:16
Len Holgate31-May-02 1:16 
GeneralRe: To Release or Not to Release... Pin
Mauricio Ritter31-May-02 1:35
Mauricio Ritter31-May-02 1:35 
Generala question of edit control Pin
31-May-02 0:55
suss31-May-02 0:55 
GeneralRe: a question of edit control Pin
User 665831-May-02 4:45
User 665831-May-02 4:45 

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.