Click here to Skip to main content
12,242,812 members (41,815 online)

ATL / WTL / STL

 
QuestionTCP/IP CAsyncSocket and pointers to same Pin
bkelly1324-Jan-13 16:16
memberbkelly1324-Jan-13 16:16 
Answerclasses don't call upwards Pin
bkelly1326-Jan-13 9:55
memberbkelly1326-Jan-13 9:55 
QuestionATL and exceptions Pin
imagiro14-Jan-13 9:10
memberimagiro14-Jan-13 9:10 
AnswerRe: ATL and exceptions Pin
Jonathan Davies18-Jan-13 10:39
memberJonathan Davies18-Jan-13 10:39 
AnswerRe: ATL and exceptions Pin
bkelly1324-Jan-13 16:24
memberbkelly1324-Jan-13 16:24 
GeneralRe: ATL and exceptions Pin
Jonathan Davies6-Feb-13 8:23
memberJonathan Davies6-Feb-13 8:23 
GeneralRe: ATL and exceptions Pin
Albert Holguin11-Feb-13 6:12
memberAlbert Holguin11-Feb-13 6:12 
Questionunicode and non-unicode Pin
bkelly1314-Jan-13 4:45
memberbkelly1314-Jan-13 4:45 
Windows XP and 7, Visual Studio 2008 and 2010, MFC, C++

Application A supports Unicode and application B does not. Class Log_Writer does not support Unicode. Both applications use Log_Writer ok passing a char * to log writer.

The problem is within Log_Writer when it cannot open the log file. It uses AfxMessageBox() to display an error to the user. When Log_Writer is compiled within the A environment the error message is:
None of the 2 overloads could convert all the argument types.
What can be done so that Log_Writer will work in both environments?
Thanks for your time

AnswerRe: unicode and non-unicode Pin
Richard MacCutchan14-Jan-13 7:24
mvpRichard MacCutchan14-Jan-13 7:24 
GeneralRe: unicode and non-unicode Pin
bkelly1314-Jan-13 9:43
memberbkelly1314-Jan-13 9:43 
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, 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 
QuestionTCP blocking -vs- CAsyncSocket -vs- Win32 API Pin
bkelly1321-Dec-12 7:09
memberbkelly1321-Dec-12 7:09 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 2 Mar 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid