Click here to Skip to main content
       

ATL / WTL / STL

 
QuestionTCP/IP CAsyncSocket and pointers to same Pinmemberbkelly1324-Jan-13 16:16 
Answerclasses don't call upwards Pinmemberbkelly1326-Jan-13 9:55 
QuestionATL and exceptions Pinmemberimagiro14-Jan-13 9:10 
AnswerRe: ATL and exceptions PinmemberJonathan Davies18-Jan-13 10:39 
AnswerRe: ATL and exceptions Pinmemberbkelly1324-Jan-13 16:24 
GeneralRe: ATL and exceptions PinmemberJonathan Davies6-Feb-13 8:23 
GeneralRe: ATL and exceptions PinmemberAlbert Holguin11-Feb-13 6:12 
Questionunicode and non-unicode Pinmemberbkelly1314-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 PinmvpRichard MacCutchan14-Jan-13 7:24 
GeneralRe: unicode and non-unicode [modified] Pinmemberbkelly1314-Jan-13 9:43 
GeneralRe: unicode and non-unicode PinmvpRichard MacCutchan14-Jan-13 23:13 
GeneralRe: unicode and non-unicode PinmvpRichard MacCutchan20-Jan-13 23:08 
AnswerRe: unicode and non-unicode Pinmemberpasztorpisti20-Jan-13 2:33 
GeneralRe: unicode and non-unicode Pinmemberbkelly1320-Jan-13 9:56 
GeneralRe: unicode and non-unicode Pinmemberpasztorpisti20-Jan-13 11:45 
AnswerRe: unicode and non-unicode PinmemberAlbert Holguin11-Feb-13 6:10 
Questionsqlconfigdatasource fails on 64 bit from 64 application Pinmemberkhaliloenit11-Jan-13 0:02 
AnswerRe: sqlconfigdatasource fails on 64 bit from 64 application PinmvpRichard MacCutchan11-Jan-13 0:10 
GeneralRe: sqlconfigdatasource fails on 64 bit from 64 application Pinmemberkhaliloenit11-Jan-13 0:14 
GeneralRe: sqlconfigdatasource fails on 64 bit from 64 application PinmvpRichard MacCutchan11-Jan-13 0:32 
QuestionProblem with embedded ATL component PinmemberHungryCPPDev7-Jan-13 2:08 
Questionbooks: activeX and com, [modified] Pinmemberbkelly131-Jan-13 10:58 
AnswerRe: books: activeX and com, PinmemberJonathan Davies10-Jan-13 2:56 
QuestionWhile launching a winapp as ole server some time OnFIleNew() failed Pinmembervermaashish_mca31-Dec-12 1:27 
QuestionTCP blocking -vs- CAsyncSocket -vs- Win32 API Pinmemberbkelly1321-Dec-12 7: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
Web04 | 2.8.1411028.1 | Last Updated 12 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid