Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Not Getting Color w/ MFC... [modified] Pin
Mark Salsbery15-Dec-06 12:09
Mark Salsbery15-Dec-06 12:09 
GeneralRe: Not Getting Color w/ MFC... Pin
Mark Salsbery15-Dec-06 12:38
Mark Salsbery15-Dec-06 12:38 
GeneralRe: Not Getting Color w/ MFC... Pin
CoffeeAddict1915-Dec-06 16:39
CoffeeAddict1915-Dec-06 16:39 
GeneralRe: Not Getting Color w/ MFC... Pin
Mark Salsbery16-Dec-06 8:40
Mark Salsbery16-Dec-06 8:40 
QuestionHow to debug a COM from an ASP.NET client? Pin
almc15-Dec-06 7:22
almc15-Dec-06 7:22 
AnswerRe: How to debug a COM from an ASP.NET client? Pin
Eytukan16-Dec-06 4:57
Eytukan16-Dec-06 4:57 
GeneralRe: How to debug a COM from an ASP.NET client? Pin
almc18-Dec-06 3:50
almc18-Dec-06 3:50 
Questionhow to move from CDatabase to CDoaDatabase? Pin
bitkidoku15-Dec-06 4:17
bitkidoku15-Dec-06 4:17 
Hello,
I have been using code project for a long time, and I always found classes, code snippets according to my needs. First of all thank you all Laugh | :laugh:
I have a project based on CDatabase and CRecordSet (the class I'm using is this: CODBCAccess http://www.codeproject.com/database/codbcaccess.asp). A lot of coding had been done on my project.

Because of language character problems I changed my project to UNICODE. Then my problems started. I had to change every occurance for char * and CString conversions.
But I am really stuck with this database issues. CDatabase automatically converts the query strings to an ansi version so I can not insert UNICODE strings to database. And because of it is a core library I can do nothing about it.
But CDaoDatabase supports UNICODE queries. So I want to change my project such a way that it will use CDaoDatabase. But as I said before it is a looong way to convert all database operations in my code. So I am considering to write a new class that acts like CODBCAccess class (I mean it's interfaces are same).

The thing I am asking is can you suggest a better way to do this? Or are there any already implemented classes for this purpose?

I hope I am clear. Sorry for my poor English. Please don't hesitate to ask questions to clarify my situations if I am not clear enough.

Thank you for you answers Big Grin | :-D
AnswerRe: how to move from CDatabase to CDoaDatabase? Pin
Mark Salsbery15-Dec-06 5:10
Mark Salsbery15-Dec-06 5:10 
GeneralRe: how to move from CDatabase to CDoaDatabase? Pin
bitkidoku15-Dec-06 22:03
bitkidoku15-Dec-06 22:03 
QuestionPlaying audio with AVIFile API. Pin
10011000100101101000015-Dec-06 4:17
10011000100101101000015-Dec-06 4:17 
QuestionResume and suspend thread Pin
RockyJames15-Dec-06 4:07
RockyJames15-Dec-06 4:07 
AnswerRe: Resume and suspend thread Pin
Mark Salsbery15-Dec-06 5:20
Mark Salsbery15-Dec-06 5:20 
GeneralRe: Resume and suspend thread Pin
RockyJames15-Dec-06 17:54
RockyJames15-Dec-06 17:54 
GeneralRe: Resume and suspend thread Pin
Mark Salsbery16-Dec-06 10:21
Mark Salsbery16-Dec-06 10:21 
QuestionCString::Format - Debug vs Release Pin
Dustin Henry15-Dec-06 4:04
Dustin Henry15-Dec-06 4:04 
AnswerRe: CString::Format - Debug vs Release Pin
kakan15-Dec-06 4:12
professionalkakan15-Dec-06 4:12 
GeneralRe: CString::Format - Debug vs Release Pin
Dustin Henry15-Dec-06 4:15
Dustin Henry15-Dec-06 4:15 
GeneralRe: CString::Format - Debug vs Release Pin
kakan15-Dec-06 4:20
professionalkakan15-Dec-06 4:20 
QuestionRe: CString::Format - Debug vs Release Pin
CPallini15-Dec-06 4:13
mveCPallini15-Dec-06 4:13 
AnswerRe: CString::Format - Debug vs Release Pin
Dustin Henry15-Dec-06 4:16
Dustin Henry15-Dec-06 4:16 
AnswerRe: CString::Format - Debug vs Release Pin
Mike O'Neill15-Dec-06 10:45
Mike O'Neill15-Dec-06 10:45 
GeneralRe: CString::Format - Debug vs Release Pin
d34studios16-Dec-06 4:27
d34studios16-Dec-06 4:27 
Questionhow to keep data persistance into controls? Pin
Arris7415-Dec-06 4:01
Arris7415-Dec-06 4:01 
AnswerRe: how to keep data persistance into controls? Pin
Chris Losinger15-Dec-06 4:19
professionalChris Losinger15-Dec-06 4:19 

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.