Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Running on a Macintosh Pin
basementman29-Apr-04 10:04
basementman29-Apr-04 10:04 
GeneralRemoving Typed URLs Pin
flace29-Apr-04 5:53
flace29-Apr-04 5:53 
GeneralRe: Removing Typed URLs Pin
David Crow29-Apr-04 6:59
David Crow29-Apr-04 6:59 
GeneralRe: Removing Typed URLs Pin
jmkhael29-Apr-04 7:36
jmkhael29-Apr-04 7:36 
GeneralRe: Removing Typed URLs Pin
flace29-Apr-04 18:30
flace29-Apr-04 18:30 
Generalprogrammically calling .exe Pin
brdavid29-Apr-04 5:51
brdavid29-Apr-04 5:51 
GeneralRe: programmically calling .exe Pin
Antony M Kancidrowski29-Apr-04 6:01
Antony M Kancidrowski29-Apr-04 6:01 
GeneralRe: programmically calling .exe Pin
brdavid29-Apr-04 6:20
brdavid29-Apr-04 6:20 
GeneralRe: programmically calling .exe Pin
Navin29-Apr-04 6:20
Navin29-Apr-04 6:20 
GeneralRe: programmically calling .exe Pin
brdavid29-Apr-04 7:32
brdavid29-Apr-04 7:32 
GeneralRe: programmically calling .exe Pin
David Crow29-Apr-04 7:50
David Crow29-Apr-04 7:50 
GeneralRe: programmically calling .exe Pin
Navin29-Apr-04 8:16
Navin29-Apr-04 8:16 
GeneralRe: programmically calling .exe Pin
softp_vc30-Apr-04 23:27
softp_vc30-Apr-04 23:27 
GeneralLink Error with DLL Pin
sweep12329-Apr-04 5:42
sweep12329-Apr-04 5:42 
GeneralRe: Link Error with DLL Pin
David Crow29-Apr-04 7:56
David Crow29-Apr-04 7:56 
GeneralRe: Link Error with DLL Pin
sweep12329-Apr-04 21:29
sweep12329-Apr-04 21:29 
Generalsetlocale() only working second time around Pin
BlueShirtPaul29-Apr-04 5:31
BlueShirtPaul29-Apr-04 5:31 
GeneralRe: setlocale() only working second time around Pin
Navin29-Apr-04 6:15
Navin29-Apr-04 6:15 
Generalduplicating derived classes Pin
Jerome Conus29-Apr-04 5:28
Jerome Conus29-Apr-04 5:28 
GeneralRe: duplicating derived classes Pin
Nemanja Trifunovic29-Apr-04 5:42
Nemanja Trifunovic29-Apr-04 5:42 
GeneralString Field Pin
Roger H. Art29-Apr-04 4:45
sussRoger H. Art29-Apr-04 4:45 
I'm writing an application that read data from a Access 2000 database using ADO.
When I read a string field and I save it into a _variant_t variable I can see the right value, but that I want to pass this value to a CString variable and then I get always the first letter of the original value.
I have write:

<br />
CStrin Data;<br />
<br />
Data = (char*)(_bstr_t)Rs->GetFields()->GetItem("string_field")->value;<br />
<br />


When I debug the program I can see that Data holds only the first character of the string.
What I doing wrong?.

Thank you.
GeneralRe: String Field Pin
David Crow29-Apr-04 4:52
David Crow29-Apr-04 4:52 
GeneralRe: String Field Pin
Roger H Art29-Apr-04 5:16
sussRoger H Art29-Apr-04 5:16 
GeneralRe: String Field Pin
David Crow29-Apr-04 5:20
David Crow29-Apr-04 5:20 
GeneralCHtmlView resource download Pin
Jason Carter29-Apr-04 4:33
Jason Carter29-Apr-04 4: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.