Click here to Skip to main content
11,431,829 members (63,904 online)

ATL / WTL / STL

 
GeneralRe: unicode and non-unicode Pin
Richard MacCutchan14-Jan-13 23:13
mvpRichard MacCutchan14-Jan-13 23:13 
GeneralRe: unicode and non-unicode Pin
Richard MacCutchan20-Jan-13 23:08
mvpRichard MacCutchan20-Jan-13 23:08 
AnswerRe: unicode and non-unicode Pin
pasztorpisti20-Jan-13 2:33
memberpasztorpisti20-Jan-13 2:33 
GeneralRe: unicode and non-unicode Pin
bkelly1320-Jan-13 9:56
memberbkelly1320-Jan-13 9:56 
GeneralRe: unicode and non-unicode Pin
pasztorpisti20-Jan-13 11:45
memberpasztorpisti20-Jan-13 11:45 
AnswerRe: unicode and non-unicode Pin
Albert Holguin11-Feb-13 6:10
memberAlbert Holguin11-Feb-13 6:10 
Questionsqlconfigdatasource fails on 64 bit from 64 application Pin
khaliloenit11-Jan-13 0:02
memberkhaliloenit11-Jan-13 0:02 
AnswerRe: sqlconfigdatasource fails on 64 bit from 64 application Pin
Richard MacCutchan11-Jan-13 0:10
mvpRichard MacCutchan11-Jan-13 0:10 
GeneralRe: sqlconfigdatasource fails on 64 bit from 64 application Pin
khaliloenit11-Jan-13 0:14
memberkhaliloenit11-Jan-13 0:14 
GeneralRe: sqlconfigdatasource fails on 64 bit from 64 application Pin
Richard MacCutchan11-Jan-13 0:32
mvpRichard MacCutchan11-Jan-13 0:32 
QuestionProblem with embedded ATL component Pin
HungryCPPDev7-Jan-13 2:08
memberHungryCPPDev7-Jan-13 2:08 
Questionbooks: activeX and com, [modified] Pin
bkelly131-Jan-13 10:58
memberbkelly131-Jan-13 10:58 
AnswerRe: books: activeX and com, Pin
Jonathan Davies10-Jan-13 2:56
memberJonathan Davies10-Jan-13 2:56 
QuestionWhile launching a winapp as ole server some time OnFIleNew() failed Pin
vermaashish_mca31-Dec-12 1:27
membervermaashish_mca31-Dec-12 1:27 
Hi

While launching a windows application(.exe) as OLE server, some time CWinApp::OnFileNew() gets failed; due to this handle to the main window (m_pMainWnd) becomes NULL and error message "Error related with mfc42.dll occurred" appeared.


At windows XP, CWinApp::OnFileNew() failed in 1 out of 100 times.

We have not implemented the OnFileNew() in our application; we are using default implementation of OnFileNew().

As per MSDN CWinApp::OnFileNew implements this command differently depending on the number of document templates in the application. If there is only one CDocTemplate, CWinApp::OnFileNew will create a new document of that type, as well as the proper frame and view class.

Problem occurs only at one system and frequency is one out of 100 and error message "Error occurs in mfc42.dll" appeared.

Thank You
Ashish Kumar verma
Software Engineer(VC++)

QuestionTCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
bkelly1321-Dec-12 7:09
memberbkelly1321-Dec-12 7:09 
AnswerRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
pasztorpisti22-Dec-12 10:51
memberpasztorpisti22-Dec-12 10:51 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
bkelly1327-Dec-12 7:16
memberbkelly1327-Dec-12 7:16 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
pasztorpisti27-Dec-12 14:47
memberpasztorpisti27-Dec-12 14:47 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API [modified] Pin
bkelly1328-Dec-12 4:08
memberbkelly1328-Dec-12 4:08 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
pasztorpisti28-Dec-12 4:37
memberpasztorpisti28-Dec-12 4:37 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
bkelly1327-Dec-12 9:22
memberbkelly1327-Dec-12 9:22 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
pasztorpisti27-Dec-12 15:02
memberpasztorpisti27-Dec-12 15:02 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
SoMad27-Dec-12 15:51
memberSoMad27-Dec-12 15:51 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
bkelly1328-Dec-12 4:13
memberbkelly1328-Dec-12 4:13 
GeneralRe: TCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
pasztorpisti28-Dec-12 6:06
memberpasztorpisti28-Dec-12 6:06 
Questioncalling virtual base class Pin
bkelly1314-Dec-12 8:36
memberbkelly1314-Dec-12 8:36 
AnswerRe: calling virtual base class Pin
pasztorpisti18-Dec-12 23:39
memberpasztorpisti18-Dec-12 23:39 
AnswerRe: calling virtual base class Pin
Albert Holguin19-Dec-12 8:22
memberAlbert Holguin19-Dec-12 8:22 
GeneralThe reason for the question Pin
bkelly1319-Dec-12 16:51
memberbkelly1319-Dec-12 16:51 
GeneralRe: The reason for the question Pin
Richard MacCutchan20-Dec-12 0:06
mvpRichard MacCutchan20-Dec-12 0:06 
GeneralRe: The reason for the question Pin
bkelly1321-Dec-12 7:11
memberbkelly1321-Dec-12 7:11 
Questioncannot add control variable to checkbox Pin
bkelly1314-Dec-12 4:07
memberbkelly1314-Dec-12 4:07 
AnswerRe: cannot add control variable to checkbox Pin
Richard MacCutchan14-Dec-12 4:36
mvpRichard MacCutchan14-Dec-12 4:36 
GeneralRe: cannot add control variable to checkbox Pin
bkelly1314-Dec-12 6:18
memberbkelly1314-Dec-12 6:18 
Questiondetect multiple instances of an application Pin
bkelly1310-Dec-12 13:28
memberbkelly1310-Dec-12 13:28 
AnswerRe: detect multiple instances of an application Pin
Pete O'Hanlon10-Dec-12 13:31
protectorPete O'Hanlon10-Dec-12 13:31 
GeneralRe: detect multiple instances of an application Pin
bkelly1310-Dec-12 14:38
memberbkelly1310-Dec-12 14:38 
AnswerRe: detect multiple instances of an application Pin
H.Brydon31-Dec-12 21:09
memberH.Brydon31-Dec-12 21:09 
QuestionOpen file in basic MFC app Pin
bkelly135-Dec-12 15:45
memberbkelly135-Dec-12 15:45 
AnswerRe: Open file in basic MFC app Pin
Richard MacCutchan5-Dec-12 22:24
mvpRichard MacCutchan5-Dec-12 22:24 
GeneralRe: Open file in basic MFC app Pin
bkelly139-Dec-12 12:36
memberbkelly139-Dec-12 12:36 
GeneralRe: Open file in basic MFC app Pin
Richard MacCutchan9-Dec-12 22:36
mvpRichard MacCutchan9-Dec-12 22:36 
Generalthe answer is Pin
bkelly139-Dec-12 13:25
memberbkelly139-Dec-12 13:25 
QuestionHow To Use Macro In dsp file(VC6.0 *.dsp file) Pin
yingkou27-Nov-12 15:37
memberyingkou27-Nov-12 15:37 
AnswerRe: How To Use Macro In dsp file(VC6.0 *.dsp file) Pin
Richard MacCutchan28-Nov-12 0:34
mvpRichard MacCutchan28-Nov-12 0:34 
QuestionAccessibleObjectFromWindow returns E_ACCESSDENIED Pin
BianChengNan26-Nov-12 0:04
memberBianChengNan26-Nov-12 0:04 
QuestionHow to use NTGraph3D Activex Control in Visual Studio 2010. Pin
DhrumilS23-Nov-12 1:44
memberDhrumilS23-Nov-12 1:44 
Newshacker240union Pin
hacker240union23-Nov-12 0:40
memberhacker240union23-Nov-12 0:40 
Questioncopying AAComBSTR to BYTE Pin
V K 220-Nov-12 21:56
memberV K 220-Nov-12 21:56 
AnswerRe: copying AAComBSTR to BYTE Pin
Richard MacCutchan20-Nov-12 22:28
mvpRichard MacCutchan20-Nov-12 22:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150428.2 | Last Updated 30 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid