Click here to Skip to main content
15,921,062 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHow to Craete Event Pin
ThatsAlok16-Oct-04 3:58
ThatsAlok16-Oct-04 3:58 
AnswerRe: How to Craete Event Pin
ThatsAlok29-Oct-04 20:44
ThatsAlok29-Oct-04 20:44 
QuestionHow can we persist Custom Interfaces Pin
qur15-Oct-04 0:43
qur15-Oct-04 0:43 
Generalostream_iterator and pair Pin
Kevin McFarlane13-Oct-04 22:26
Kevin McFarlane13-Oct-04 22:26 
GeneralRe: ostream_iterator and pair Pin
Joaquín M López Muñoz14-Oct-04 2:52
Joaquín M López Muñoz14-Oct-04 2:52 
GeneralRe: ostream_iterator and pair Pin
Kevin McFarlane14-Oct-04 6:29
Kevin McFarlane14-Oct-04 6:29 
QuestionUsing WTL with MSLU, crash on Windows 98? Pin
billholt11-Oct-04 19:41
billholt11-Oct-04 19:41 
AnswerRe: Using WTL with MSLU, crash on Windows 98? Pin
billholt12-Oct-04 21:26
billholt12-Oct-04 21:26 
Hi
I've captured some information about this crash. The crash happens in line 2968 of atlwin.h (microsoft visual studio .net 2003\vc7\atlmfc\include\atlwin.h). It's a "writing to location violation"

The function is:
LRESULT DefWindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
{
#ifdef STRICT
// This is where the crash happens
return ::CallWindowProc(m_pfnSuperWindowProc, m_hWnd, uMsg, wParam,
lParam);
#else
return ::CallWindowProc((FARPROC)m_pfnSuperWindowProc, m_hWnd, uMsg,
wParam, lParam);
#endif
}

In the function context, uMsg = 0x0000000d (13), wParam = 0x0000000d (13), lParam = 0x005e0f7c (6164348).

The calling parent is LRESULT CALLBACK CWindowImplBaseT< TBase, TWinTraits >::WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam). And the calling child is unicows.dll!_GodotCallWindowProcW@20() + 0x52 and unicows.dll!_GodotTransmitMessage@44() + 0x1148 There is another unrecognized calling child. Apparently, 0x0d is the WM_GETTEXT message. And the crash happens right there. When
GodotTransmitMessage traps this message.

I saw a little note in the WM_GETTEXT description in PSDK Document:

Windows NT/2000/XP:ANSI applications may have the string in the buffer reduced in size (to a minimum of half that of the wParam value) due to conversion from ANSI to Unicode.

Does this note have something to do with this crash? I do hope someone can try follow my steps and see if it's a problem with MSLU.

Thanks
Generalcopy file to netwk Pin
Anonymous8-Oct-04 13:58
Anonymous8-Oct-04 13:58 
GeneralRe: copy file to netwk Pin
ThatsAlok29-Oct-04 20:46
ThatsAlok29-Oct-04 20:46 
GeneralPassing structure btw Client and DCOM server Pin
sergeyv20027-Oct-04 7:53
sergeyv20027-Oct-04 7:53 
GeneralATL free threaded question Pin
Martin Hinchy6-Oct-04 13:31
Martin Hinchy6-Oct-04 13:31 
GeneralRe: ATL free threaded question Pin
Michael Dunn9-Oct-04 6:29
sitebuilderMichael Dunn9-Oct-04 6:29 
GeneralRe: ATL free threaded question Pin
Jörgen Sigvardsson9-Oct-04 8:12
Jörgen Sigvardsson9-Oct-04 8:12 
GeneralRe: ATL free threaded question Pin
Martin Hinchy10-Oct-04 12:39
Martin Hinchy10-Oct-04 12:39 
GeneralMFCan you Introduce... Pin
Polite Programmer6-Oct-04 12:35
Polite Programmer6-Oct-04 12:35 
GeneralRe: MFCan you Introduce... Pin
Joaquín M López Muñoz6-Oct-04 12:56
Joaquín M López Muñoz6-Oct-04 12:56 
GeneralRe: MFCan you Introduce... Pin
Polite Programmer6-Oct-04 13:05
Polite Programmer6-Oct-04 13:05 
GeneralRe: MFCan you Introduce... Pin
Joaquín M López Muñoz6-Oct-04 13:20
Joaquín M López Muñoz6-Oct-04 13:20 
GeneralRe: MFCan you Introduce... Pin
toxcct6-Oct-04 22:50
toxcct6-Oct-04 22:50 
GeneralATL 2-byte leak, i'm embarassed Pin
Eugene Homyakov6-Oct-04 5:28
Eugene Homyakov6-Oct-04 5:28 
GeneralRe: ATL 2-byte leak, i'm embarassed Pin
unimatrics10-Oct-04 7:03
unimatrics10-Oct-04 7:03 
GeneralMessage Map problem Pin
qur6-Oct-04 1:11
qur6-Oct-04 1:11 
QuestionIs possible to use ATL 7.0 in VC.6 ? Pin
Rodrigo Pinto Pereira de Souza5-Oct-04 9:50
Rodrigo Pinto Pereira de Souza5-Oct-04 9:50 
AnswerRe: Is possible to use ATL 7.0 in VC.6 ? Pin
toxcct5-Oct-04 21:26
toxcct5-Oct-04 21:26 

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.