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

C / C++ / MFC

 
GeneralRe: Saving password to registry? Pin
David Crow25-Aug-04 10:52
David Crow25-Aug-04 10:52 
GeneralRe: Saving password to registry? Pin
darkbyte26-Aug-04 5:00
darkbyte26-Aug-04 5:00 
AnswerRe: Saving password to registry? Pin
cmk25-Aug-04 13:22
cmk25-Aug-04 13:22 
AnswerRe: Saving password to registry? Pin
l a u r e n25-Aug-04 15:45
l a u r e n25-Aug-04 15:45 
GeneralRe: Saving password to registry? Pin
ThatsAlok25-Aug-04 21:53
ThatsAlok25-Aug-04 21:53 
GeneralRe: Saving password to registry? Pin
darkbyte26-Aug-04 4:46
darkbyte26-Aug-04 4:46 
AnswerRe: Saving password to registry? Pin
JimmyRopes26-Aug-04 9:33
professionalJimmyRopes26-Aug-04 9:33 
GeneralDesign question (working with ATL OLE DB classes).... Pin
CherezZaboro25-Aug-04 7:32
CherezZaboro25-Aug-04 7:32 
So I have a lot of different C++ objects with members. Strings, ints etc.
Objects get populated from database. Used to do it using MFC ODBC classes. Then I decided to go OLE DB. Wow! So. Now instead of CRecordset we use CAccessor<>, right? To map members to fields now I have to use TCHAR or CComBSTR for strings, right?
But I'd like to keep my objects as CString or std::string. I don't want to change all my code to operate with CComBSTR and I don't want make parallel just members to transfer data from database to my members. What do I do then? Is there a way to make COLUMN_ENTRY to accept CString or std::string? Or somehow make an automatic transfer from one global CComBSTR (that would be used to retrieve the data) to those members?
Confusing? Smile | :)
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
Doug Mitchell25-Aug-04 8:44
Doug Mitchell25-Aug-04 8:44 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
CherezZaboro25-Aug-04 15:55
CherezZaboro25-Aug-04 15:55 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
Ryan Binns25-Aug-04 18:31
Ryan Binns25-Aug-04 18:31 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
CherezZaboro26-Aug-04 3:34
CherezZaboro26-Aug-04 3:34 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
palbano25-Aug-04 19:50
palbano25-Aug-04 19:50 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
CherezZaboro26-Aug-04 3:45
CherezZaboro26-Aug-04 3:45 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
palbano26-Aug-04 4:34
palbano26-Aug-04 4:34 
GeneralWin32 console application - stop window from displaying Pin
BlackDice25-Aug-04 7:22
BlackDice25-Aug-04 7:22 
GeneralRe: Win32 console application - stop window from displaying Pin
jmkhael25-Aug-04 7:46
jmkhael25-Aug-04 7:46 
GeneralProblem using RichTextBox Pin
SuperTank25-Aug-04 6:09
SuperTank25-Aug-04 6:09 
GeneralRe: Problem using RichTextBox Pin
Tom Wright25-Aug-04 6:21
Tom Wright25-Aug-04 6:21 
GeneralRe: Problem using RichTextBox Pin
BlackDice25-Aug-04 7:43
BlackDice25-Aug-04 7:43 
GeneralRe: Problem using RichTextBox Pin
David Crow25-Aug-04 10:21
David Crow25-Aug-04 10:21 
GeneralRe: Problem using RichTextBox Pin
SuperTank25-Aug-04 10:40
SuperTank25-Aug-04 10:40 
GeneralDeriving from a CStatic Pin
act_x25-Aug-04 6:01
act_x25-Aug-04 6:01 
GeneralRe: Deriving from a CStatic Pin
Michael P Butler25-Aug-04 6:28
Michael P Butler25-Aug-04 6:28 
GeneralRe: Deriving from a CStatic Pin
Maximilien25-Aug-04 6:33
Maximilien25-Aug-04 6:33 

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.