Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAPI for getting resource Handle Pin
neha.agarwal2724-Mar-08 20:59
neha.agarwal2724-Mar-08 20:59 
GeneralRe: API for getting resource Handle Pin
Rajkumar R24-Mar-08 21:19
Rajkumar R24-Mar-08 21:19 
GeneralRe: API for getting resource Handle Pin
Randor 25-Mar-08 4:50
professional Randor 25-Mar-08 4:50 
QuestionHow to serialize a Gdiplus::Bitmap object? Pin
followait24-Mar-08 20:54
followait24-Mar-08 20:54 
AnswerRe: How to serialize a Gdiplus::Bitmap object? Pin
Rajkumar R25-Mar-08 2:36
Rajkumar R25-Mar-08 2:36 
GeneralRe: How to serialize a Gdiplus::Bitmap object? Pin
followait25-Mar-08 4:48
followait25-Mar-08 4:48 
QuestionABOUT CONCATINATION Pin
savitri24-Mar-08 20:37
savitri24-Mar-08 20:37 
QuestionRe: ABOUT CONCATINATION [modified] Pin
Rajkumar R24-Mar-08 20:52
Rajkumar R24-Mar-08 20:52 
Have you allocated strmsg?
possibly you are not allocating char *strmsg; you need to allocate memory for the string. something like char strmsg[YOUR_STRING_SIZE]; char *strmsg = new char[YOUR_STRING_SIZE];

savitri wrote:
strmsg=strcat(strmsg,MemId);

It seems your module is not unicode as strcat doesnot give error at compilation taking (char *, LPCTSTR).


And as a side note, IMHO, when you are using generic string data type LPCTSTR always use generic text manipulation API's and data structure, use _tcscat inplace of strcat.
Unicode, MBCS and Generic text mappings[^]

generic text apis start with _tcsxxx search in msdn index when you want a mapping to string functions with strxxx

modified on Tuesday, March 25, 2008 6:46 AM

GeneralRe: ABOUT CONCATINATION Pin
Peter Weyzen25-Mar-08 19:48
Peter Weyzen25-Mar-08 19:48 
Question'ImageList_AddIcon': identifier not found Pin
hitonly200824-Mar-08 19:30
hitonly200824-Mar-08 19:30 
GeneralRe: 'ImageList_AddIcon': identifier not found Pin
Rajkumar R24-Mar-08 20:37
Rajkumar R24-Mar-08 20:37 
GeneralRe: 'ImageList_AddIcon': identifier not found Pin
hitonly200824-Mar-08 22:40
hitonly200824-Mar-08 22:40 
GeneralRe: 'ImageList_AddIcon': identifier not found Pin
Rajkumar R25-Mar-08 0:09
Rajkumar R25-Mar-08 0:09 
Questionhelp about this stack overflow? Pin
wendyyue24-Mar-08 19:29
wendyyue24-Mar-08 19:29 
AnswerRe: help about this stack overflow? Pin
Rajkumar R24-Mar-08 20:29
Rajkumar R24-Mar-08 20:29 
GeneralDocking Windows Pin
suhi24-Mar-08 19:12
suhi24-Mar-08 19:12 
GeneralRe: Docking Windows Pin
Rajasekharan Vengalil24-Mar-08 19:37
Rajasekharan Vengalil24-Mar-08 19:37 
Generalunicode characterset Vs mutibyte Character set Pin
rowdy_vc++24-Mar-08 18:35
rowdy_vc++24-Mar-08 18:35 
GeneralRe: unicode characterset Vs mutibyte Character set Pin
Rajasekharan Vengalil24-Mar-08 19:35
Rajasekharan Vengalil24-Mar-08 19:35 
GeneralRe: unicode characterset Vs mutibyte Character set Pin
Mark Salsbery25-Mar-08 5:58
Mark Salsbery25-Mar-08 5:58 
GeneralCompilation Error: MFC Activex Control Creation....... Pin
spalanivel24-Mar-08 18:16
spalanivel24-Mar-08 18:16 
GeneralRe: Compilation Error: MFC Activex Control Creation....... Pin
Rajasekharan Vengalil24-Mar-08 19:31
Rajasekharan Vengalil24-Mar-08 19:31 
GeneralRe: Compilation Error: MFC Activex Control Creation....... Pin
David Crow25-Mar-08 3:57
David Crow25-Mar-08 3:57 
Generalnmake problem - dependency tree Pin
charlieg24-Mar-08 9:11
charlieg24-Mar-08 9:11 
GeneralRe: nmake problem - dependency tree Pin
Matthew Faithfull24-Mar-08 23:58
Matthew Faithfull24-Mar-08 23:58 

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.