Click here to Skip to main content
15,923,376 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to add a database class into an existing MFC app? Pin
Michael P Butler4-Aug-02 2:49
Michael P Butler4-Aug-02 2:49 
GeneralRe: how to add a database class into an existing MFC app? Pin
nss4-Aug-02 6:15
nss4-Aug-02 6:15 
Questioncompile error - windows.h defined twice? Pin
nss3-Aug-02 9:27
nss3-Aug-02 9:27 
AnswerRe: compile error - windows.h defined twice? Pin
56789012343-Aug-02 21:46
56789012343-Aug-02 21:46 
GeneralRe: compile error - windows.h defined twice? Pin
nss4-Aug-02 6:12
nss4-Aug-02 6:12 
GeneralFTP using winsocks Pin
carrie3-Aug-02 8:28
carrie3-Aug-02 8:28 
QuestionHow to capture the "save" command in the MS office? Pin
max-z3-Aug-02 7:18
max-z3-Aug-02 7:18 
Questionhow to copy binary data? How to get its length? Pin
nss3-Aug-02 6:20
nss3-Aug-02 6:20 
I have:

char* tempImage = (char *) (_bstr_t) pRecordset->Fields->GetItem ("pImage")->Value;


The stuff stored in Value is a pointer to data gotten out of a bmp (so its binary right? )

So should I be doing char*?

Not sure.

Also how to get the size of the image stored in Value? Strlen would count upto the first embedded Null, of which there are plenty in the binary data. So, what function to read the size?
Thanks,
ns
AnswerRe: how to copy binary data? How to get its length? Pin
Daniel Turini3-Aug-02 11:46
Daniel Turini3-Aug-02 11:46 
AnswerRe: how to copy binary data? How to get its length? Pin
Daniel Turini3-Aug-02 11:46
Daniel Turini3-Aug-02 11:46 
GeneralDetect an open window and active it if not active Pin
youssef3-Aug-02 5:47
youssef3-Aug-02 5:47 
Questionhow to use valarray Pin
Anonymous3-Aug-02 4:57
Anonymous3-Aug-02 4:57 
GeneralDocument/View trouble Pin
carlos del piero3-Aug-02 4:32
susscarlos del piero3-Aug-02 4:32 
GeneralRe: Document/View trouble Pin
Ernest Laurentin3-Aug-02 6:33
Ernest Laurentin3-Aug-02 6:33 
GeneralRe: this is actually how the situation is Pin
carlos dp4-Aug-02 2:25
susscarlos dp4-Aug-02 2:25 
Generalerror 1189 in mfc app. Pin
nss3-Aug-02 4:25
nss3-Aug-02 4:25 
Generalall I have in my .h file is two includes and 1 import: Pin
nss3-Aug-02 4:30
nss3-Aug-02 4:30 
GeneralI have "automatic use of precompiled headers" Pin
nss3-Aug-02 4:35
nss3-Aug-02 4:35 
GeneralCRichEditCtrl MFC Pin
Anonymous3-Aug-02 1:58
Anonymous3-Aug-02 1:58 
GeneralRe: CRichEditCtrl MFC Pin
Pavel Klocek3-Aug-02 2:08
Pavel Klocek3-Aug-02 2:08 
GeneralRe: CRichEditCtrl MFC Pin
Nish Nishant3-Aug-02 3:28
sitebuilderNish Nishant3-Aug-02 3:28 
GeneralRe: CRichEditCtrl MFC Pin
Ernest Laurentin3-Aug-02 6:20
Ernest Laurentin3-Aug-02 6:20 
GeneralCRichEditCtrl MFC Pin
Anonymous3-Aug-02 1:58
Anonymous3-Aug-02 1:58 
GeneralCSplitterWnd Question Pin
Anonymous3-Aug-02 1:18
Anonymous3-Aug-02 1:18 
GeneralRe: CSplitterWnd Question Pin
Pavel Klocek3-Aug-02 2:18
Pavel Klocek3-Aug-02 2:18 

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.