Click here to Skip to main content
16,011,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Funny C++ Pin
Almindra20-Feb-04 4:21
Almindra20-Feb-04 4:21 
GeneralRe: Funny C++ Pin
David Crow20-Feb-04 4:40
David Crow20-Feb-04 4:40 
GeneralRe: Funny C++ Pin
Tim Smith20-Feb-04 4:31
Tim Smith20-Feb-04 4:31 
GeneralRe: Funny C++ Pin
jbarton20-Feb-04 3:22
jbarton20-Feb-04 3:22 
Questionhow to open file Pin
Goh Hui Beng20-Feb-04 0:24
Goh Hui Beng20-Feb-04 0:24 
AnswerRe: how to open file Pin
rw10420-Feb-04 1:56
rw10420-Feb-04 1:56 
GeneralRe: how to open file Pin
Goh Hui Beng20-Feb-04 5:20
Goh Hui Beng20-Feb-04 5:20 
GeneralRe: how to open file Pin
rw10420-Feb-04 5:44
rw10420-Feb-04 5:44 
The key is szFilename, this will be a character array (string)
that will contain the path of the physical file, like "c:\SomeBitmap.bmp" look for the definition of szFilename
before the call below:

bool ResLoad = SrcImage.LoadBMP24Image(szFileName);

It may well of come from a dialog in which case it would have come from a member variable...

The key thing is that you could simply do this:
bool ResLoad = SrcImage.LoadBMP24Image("c:\\SomeBitmap.bmp");

If there is anything else please ask
Smile | :)




GeneralRe: how to open file Pin
Goh Hui Beng21-Feb-04 16:22
Goh Hui Beng21-Feb-04 16:22 
Generalvector<CString> *pvecString ?? :confused: Pin
Nirav Doshi19-Feb-04 23:30
Nirav Doshi19-Feb-04 23:30 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
Andrew Walker19-Feb-04 23:34
Andrew Walker19-Feb-04 23:34 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
Nirav Doshi19-Feb-04 23:43
Nirav Doshi19-Feb-04 23:43 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
Henrik Stuart20-Feb-04 0:03
Henrik Stuart20-Feb-04 0:03 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
Nirav Doshi20-Feb-04 1:52
Nirav Doshi20-Feb-04 1:52 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
John M. Drescher20-Feb-04 2:44
John M. Drescher20-Feb-04 2:44 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
Nirav Doshi20-Feb-04 3:51
Nirav Doshi20-Feb-04 3:51 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
Tim Smith20-Feb-04 4:37
Tim Smith20-Feb-04 4:37 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
Robert A. T. Káldy20-Feb-04 6:52
Robert A. T. Káldy20-Feb-04 6:52 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
Nirav Doshi20-Feb-04 7:24
Nirav Doshi20-Feb-04 7:24 
GeneralRe: vector<CString> *pvecString ?? :confused: Pin
John M. Drescher24-Feb-04 16:15
John M. Drescher24-Feb-04 16:15 
GeneralProblem with jpg Pin
Jay.Jay19-Feb-04 22:47
Jay.Jay19-Feb-04 22:47 
Generalassembly and c++ code problem please help Pin
dj_felix19-Feb-04 22:12
dj_felix19-Feb-04 22:12 
GeneralRe: assembly and c++ code problem please help Pin
Maxwell Chen19-Feb-04 22:23
Maxwell Chen19-Feb-04 22:23 
GeneralRe: assembly and c++ code problem please help Pin
Anonymous19-Feb-04 22:37
Anonymous19-Feb-04 22:37 
GeneralRe: assembly and c++ code problem please help Pin
Maxwell Chen19-Feb-04 22:49
Maxwell Chen19-Feb-04 22:49 

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.