Click here to Skip to main content
15,891,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGlobal memory (GlobalAlloc, etc...) Pin
Dominik Reichl26-Jan-03 3:40
Dominik Reichl26-Jan-03 3:40 
GeneralRe: Global memory (GlobalAlloc, etc...) Pin
Sigmund26-Jan-03 4:38
Sigmund26-Jan-03 4:38 
GeneralRe: Global memory (GlobalAlloc, etc...) Pin
Dominik Reichl26-Jan-03 6:03
Dominik Reichl26-Jan-03 6:03 
GeneralRe: Global memory (GlobalAlloc, etc...) Pin
Joe Woodbury26-Jan-03 21:37
professionalJoe Woodbury26-Jan-03 21:37 
GeneralProblem splitting dynamically allocated CString Pin
Wim Jans26-Jan-03 2:56
Wim Jans26-Jan-03 2:56 
GeneralRe: Problem splitting dynamically allocated CString Pin
Gary R. Wheeler26-Jan-03 5:18
Gary R. Wheeler26-Jan-03 5:18 
GeneralRe: Problem splitting dynamically allocated CString Pin
Ted Ferenc26-Jan-03 9:33
Ted Ferenc26-Jan-03 9:33 
GeneralRe: Problem splitting dynamically allocated CString Pin
Garth J Lancaster26-Jan-03 14:33
professionalGarth J Lancaster26-Jan-03 14:33 
This is probablya bit late (its a public holiday down here in Australia, but I got suckered into coming into the office anyway)

anyway, see this link for an explanation and working code on posting CStrings (look for "Passing Pointers in Messages") - Note well one of Joe's comments "However, if you ever plan to use PostMessage to pass a pointer to an object, then you are constrained to always use a static or heap-based object"

http://www.pgh.net/~newcomer/messages.htm[^]

Hope this helps ...

'G' <- Grinch !!!
GeneralRe: Problem splitting dynamically allocated CString Pin
Wim Jans26-Jan-03 22:51
Wim Jans26-Jan-03 22:51 
GeneralRe: Problem splitting dynamically allocated CString Pin
Garth J Lancaster27-Jan-03 10:12
professionalGarth J Lancaster27-Jan-03 10:12 
GeneralCreation of child dialogs Pin
annona25-Jan-03 23:31
annona25-Jan-03 23:31 
Generalquestion about CRITICAL_SECTION. Pin
George225-Jan-03 22:17
George225-Jan-03 22:17 
GeneralRe: question about CRITICAL_SECTION. Pin
Renjith Ramachandran26-Jan-03 0:19
Renjith Ramachandran26-Jan-03 0:19 
GeneralRe: question about CRITICAL_SECTION. Pin
George226-Jan-03 1:29
George226-Jan-03 1:29 
GeneralRe: question about CRITICAL_SECTION. Pin
Mike Nordell26-Jan-03 1:56
Mike Nordell26-Jan-03 1:56 
GeneralRe: question about CRITICAL_SECTION. Pin
George226-Jan-03 2:10
George226-Jan-03 2:10 
GeneralRe: question about CRITICAL_SECTION. Pin
peterchen26-Jan-03 6:33
peterchen26-Jan-03 6:33 
GeneralRe: question about CRITICAL_SECTION. Pin
George226-Jan-03 14:18
George226-Jan-03 14:18 
GeneralError: Inaccurate System Timer Pin
Edwin Geng25-Jan-03 21:54
Edwin Geng25-Jan-03 21:54 
GeneralRe: Error: Inaccurate System Timer Pin
Gary R. Wheeler26-Jan-03 5:23
Gary R. Wheeler26-Jan-03 5:23 
Generalfatal error LNK1104: cannot open file "nafxcw.lib" Pin
jimNLX25-Jan-03 21:07
jimNLX25-Jan-03 21:07 
GeneralRe: fatal error LNK1104: cannot open file "nafxcw.lib" Pin
bryce25-Jan-03 23:37
bryce25-Jan-03 23:37 
GeneralHANDLE to a directory in Win-ME Pin
Piccinano25-Jan-03 20:34
Piccinano25-Jan-03 20:34 
GeneralRe: HANDLE to a directory in Win-ME Pin
Mike Nordell26-Jan-03 14:07
Mike Nordell26-Jan-03 14:07 
GeneralWTL documentation, free book, tutorial... Pin
axa25-Jan-03 18:23
axa25-Jan-03 18:23 

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.