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

C / C++ / MFC

 
GeneralRe: Problem in call Bitmap::FromFile GDI function Pin
Shivanand Gupta19-Jul-09 18:48
Shivanand Gupta19-Jul-09 18:48 
GeneralRe: Problem in call Bitmap::FromFile GDI function Pin
snailbchen17-Mar-12 5:09
snailbchen17-Mar-12 5:09 
QuestionProblem in call Bitmap::FromFile GDI function Pin
Member 417071117-Jul-09 4:18
Member 417071117-Jul-09 4:18 
QuestionProblem in call Bitmap::FromFile Gdi function Pin
Member 417071117-Jul-09 4:12
Member 417071117-Jul-09 4:12 
QuestionCRect Pin
kumar sanghvi17-Jul-09 3:35
kumar sanghvi17-Jul-09 3:35 
AnswerRe: CRect Pin
Iain Clarke, Warrior Programmer17-Jul-09 3:37
Iain Clarke, Warrior Programmer17-Jul-09 3:37 
QuestionConversion from Cstring to LPSTR Pin
Pardhu_M17-Jul-09 3:18
Pardhu_M17-Jul-09 3:18 
AnswerRe: Conversion from Cstring to LPSTR Pin
Cedric Moonen17-Jul-09 3:23
Cedric Moonen17-Jul-09 3:23 
Please, read the documentation about the GetBuffer to understand why you should never call this function without knowing what it does.
Furthermore, CString provides a cast operator that returns the same type as the GetBuffer function.

And how are you checking that you only get the first character ? Why do you need to store that into a LPSTR variable ?

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: Conversion from Cstring to LPSTR Pin
Rajesh R Subramanian17-Jul-09 3:39
professionalRajesh R Subramanian17-Jul-09 3:39 
GeneralRe: Conversion from Cstring to LPSTR Pin
ThatsAlok18-Jul-09 7:45
ThatsAlok18-Jul-09 7:45 
AnswerRe: Conversion from Cstring to LPSTR Pin
Nemanja Trifunovic17-Jul-09 3:42
Nemanja Trifunovic17-Jul-09 3:42 
QuestionHow to disable CDockablePane context menu? Pin
eight17-Jul-09 1:37
eight17-Jul-09 1:37 
AnswerRe: How to disable CDockablePane context menu? Pin
Randor 17-Jul-09 2:26
professional Randor 17-Jul-09 2:26 
GeneralRe: How to disable CDockablePane context menu? Pin
eight19-Jul-09 17:02
eight19-Jul-09 17:02 
GeneralRe: How to disable CDockablePane context menu? Pin
eight19-Jul-09 17:54
eight19-Jul-09 17:54 
AnswerRe: How to disable CDockablePane context menu? Pin
severin09-Oct-09 8:17
severin09-Oct-09 8:17 
QuestionPragma pack, pointer, 32 vs 64 bits build Pin
Kochise17-Jul-09 0:55
Kochise17-Jul-09 0:55 
AnswerRe: Pragma pack, pointer, 32 vs 64 bits build [modified] Pin
Kochise17-Jul-09 1:17
Kochise17-Jul-09 1:17 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build Pin
Randor 17-Jul-09 1:54
professional Randor 17-Jul-09 1:54 
AnswerRe: Pragma pack, pointer, 32 vs 64 bits build Pin
Stuart Dootson17-Jul-09 1:50
professionalStuart Dootson17-Jul-09 1:50 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build [modified] Pin
Kochise17-Jul-09 5:44
Kochise17-Jul-09 5:44 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build Pin
Stuart Dootson17-Jul-09 13:05
professionalStuart Dootson17-Jul-09 13:05 
AnswerRe: Pragma pack, pointer, 32 vs 64 bits build Pin
cmk17-Jul-09 8:54
cmk17-Jul-09 8:54 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build Pin
Kochise17-Jul-09 10:32
Kochise17-Jul-09 10:32 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build Pin
cmk17-Jul-09 11:43
cmk17-Jul-09 11:43 

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.