Click here to Skip to main content
       

ATL / WTL / STL

 
QuestionTCP/IP CAsyncSocket and pointers to same Pinmemberbkelly1324-Jan-13 15:16 
Answerclasses don't call upwards Pinmemberbkelly1326-Jan-13 8:55 
QuestionATL and exceptions Pinmemberimagiro14-Jan-13 8:10 
AnswerRe: ATL and exceptions PinmemberJonathan Davies18-Jan-13 9:39 
AnswerRe: ATL and exceptions Pinmemberbkelly1324-Jan-13 15:24 
GeneralRe: ATL and exceptions PinmemberJonathan Davies6-Feb-13 7:23 
GeneralRe: ATL and exceptions PinmemberAlbert Holguin11-Feb-13 5:12 
Questionunicode and non-unicode Pinmemberbkelly1314-Jan-13 3: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 PinmvpRichard MacCutchan14-Jan-13 6:24 
GeneralRe: unicode and non-unicode [modified] Pinmemberbkelly1314-Jan-13 8:43 
GeneralRe: unicode and non-unicode PinmvpRichard MacCutchan14-Jan-13 22:13 
GeneralRe: unicode and non-unicode PinmvpRichard MacCutchan20-Jan-13 22:08 
AnswerRe: unicode and non-unicode Pinmemberpasztorpisti20-Jan-13 1:33 
GeneralRe: unicode and non-unicode Pinmemberbkelly1320-Jan-13 8:56 
GeneralRe: unicode and non-unicode Pinmemberpasztorpisti20-Jan-13 10:45 
AnswerRe: unicode and non-unicode PinmemberAlbert Holguin11-Feb-13 5:10 
Questionsqlconfigdatasource fails on 64 bit from 64 application Pinmemberkhaliloenit10-Jan-13 23:02 
AnswerRe: sqlconfigdatasource fails on 64 bit from 64 application PinmvpRichard MacCutchan10-Jan-13 23:10 
GeneralRe: sqlconfigdatasource fails on 64 bit from 64 application Pinmemberkhaliloenit10-Jan-13 23:14 
GeneralRe: sqlconfigdatasource fails on 64 bit from 64 application PinmvpRichard MacCutchan10-Jan-13 23:32 
QuestionProblem with embedded ATL component PinmemberHungryCPPDev7-Jan-13 1:08 
Questionbooks: activeX and com, [modified] Pinmemberbkelly131-Jan-13 9:58 
AnswerRe: books: activeX and com, PinmemberJonathan Davies10-Jan-13 1:56 
QuestionWhile launching a winapp as ole server some time OnFIleNew() failed Pinmembervermaashish_mca31-Dec-12 0:27 
QuestionTCP blocking -vs- CAsyncSocket -vs- Win32 API Pinmemberbkelly1321-Dec-12 6:09 

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
Web03 | 2.8.140921.1 | Last Updated 12 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid