Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Beginner in painting Pin
Christian Graus23-Feb-02 21:05
protectorChristian Graus23-Feb-02 21:05 
GeneralLPTSTR type Pin
23-Feb-02 2:07
suss23-Feb-02 2:07 
GeneralRe: LPTSTR type Pin
Anders Molin23-Feb-02 5:52
professionalAnders Molin23-Feb-02 5:52 
GeneralRe: LPTSTR type Pin
Rick York23-Feb-02 7:02
mveRick York23-Feb-02 7:02 
GeneralRe: LPTSTR type Pin
Anders Molin23-Feb-02 7:19
professionalAnders Molin23-Feb-02 7:19 
GeneralRe: LPTSTR type Pin
Rick York23-Feb-02 7:32
mveRick York23-Feb-02 7:32 
GeneralRe: LPTSTR type Pin
23-Feb-02 8:24
suss23-Feb-02 8:24 
GeneralRe: LPTSTR type Pin
Michael Dunn23-Feb-02 11:36
sitebuilderMichael Dunn23-Feb-02 11:36 
The code is still wrong, you don't allocate enough space for the Description string. Look at the wsprintf() format - you have the two substrings, two angle brackets, two spaces, and a colon. Plus the terminating null. So you should malloc (lstrlen(TypeRes) + lstrlen(Resource) + 6)*sizeof(TCHAR)

--Mike--
Fetchez la vache!
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan and Jamie Salé.

GeneralRe: LPTSTR type Pin
Felix Cho23-Feb-02 7:24
Felix Cho23-Feb-02 7:24 
GeneralRe: LPTSTR type Pin
Michael Dunn23-Feb-02 7:57
sitebuilderMichael Dunn23-Feb-02 7:57 
QuestionDo anyone know where can we get some information about CD's file struct? Pin
MeteOS323-Feb-02 1:55
MeteOS323-Feb-02 1:55 
AnswerRe: Do anyone know where can we get some information about CD's file struct? Pin
markkuk24-Feb-02 21:40
markkuk24-Feb-02 21:40 
GeneralGDI+ AlphaBlending Pin
AJ12323-Feb-02 1:55
AJ12323-Feb-02 1:55 
GeneralRe: GDI+ AlphaBlending Pin
Christian Graus23-Feb-02 10:46
protectorChristian Graus23-Feb-02 10:46 
QuestionAbout creat my DLL file ? Pin
MeteOS323-Feb-02 1:49
MeteOS323-Feb-02 1:49 
AnswerRe: About creat my DLL file ? Pin
Mazdak23-Feb-02 1:59
Mazdak23-Feb-02 1:59 
GeneralRe: About creat my DLL file ? Pin
MeteOS323-Feb-02 1:59
MeteOS323-Feb-02 1:59 
GeneralRe: About creat my DLL file ? Pin
Mazdak23-Feb-02 2:29
Mazdak23-Feb-02 2:29 
GeneralRe: About creat my DLL file ? Pin
MeteOS328-Feb-02 0:00
MeteOS328-Feb-02 0:00 
GeneralRe: About creat my DLL file ? Pin
Mazdak28-Feb-02 3:08
Mazdak28-Feb-02 3:08 
GeneralRe: About creat my DLL file ? Pin
MeteOS35-Mar-02 18:13
MeteOS35-Mar-02 18:13 
GeneralRe: About creat my DLL file ? Pin
Mazdak6-Mar-02 0:24
Mazdak6-Mar-02 0:24 
GeneralRe: About creat my DLL file ? Pin
MeteOS39-Mar-02 23:04
MeteOS39-Mar-02 23:04 
AnswerRe: About creat my DLL file ? Pin
Paul M Watt23-Feb-02 10:56
mentorPaul M Watt23-Feb-02 10:56 
GeneralHex String to Decimal long Pin
soup23-Feb-02 1:47
soup23-Feb-02 1:47 

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.