Click here to Skip to main content
15,902,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Listbox and files Pin
Chandrasekharan P3-Apr-08 0:57
Chandrasekharan P3-Apr-08 0:57 
GeneralRe: Listbox and files Pin
Hamid_RT7-Apr-08 3:51
Hamid_RT7-Apr-08 3:51 
Questionwhy use StartService to start a driver service failed? Pin
kcynic1-Apr-08 21:45
kcynic1-Apr-08 21:45 
AnswerRe: why use StartService to start a driver service failed? Pin
Jonathan [Darka]1-Apr-08 23:01
professionalJonathan [Darka]1-Apr-08 23:01 
GeneralRe: why use StartService to start a driver service failed? Pin
kcynic1-Apr-08 23:10
kcynic1-Apr-08 23:10 
GeneralRe: why use StartService to start a driver service failed? Pin
JudyL_MD2-Apr-08 2:00
JudyL_MD2-Apr-08 2:00 
GeneralOLESTR Pin
George_George1-Apr-08 21:26
George_George1-Apr-08 21:26 
GeneralRe: OLESTR Pin
CPallini1-Apr-08 21:52
mveCPallini1-Apr-08 21:52 
George_George wrote:
When we use OLESTR to allocate a variable from string literal, like OLESTR("Hello World"), the memory space for the string literal is on stack, right?


Nope, String literals don't follow the lifetime rules of the variables allocated on the stack. AFAIK they are always allocated on read-only memory.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: OLESTR Pin
George_George1-Apr-08 22:26
George_George1-Apr-08 22:26 
GeneralRe: OLESTR Pin
CPallini1-Apr-08 22:45
mveCPallini1-Apr-08 22:45 
GeneralRe: OLESTR Pin
George_George1-Apr-08 22:55
George_George1-Apr-08 22:55 
GeneralRe: OLESTR Pin
toxcct1-Apr-08 22:55
toxcct1-Apr-08 22:55 
GeneralRe: OLESTR Pin
George_George1-Apr-08 23:01
George_George1-Apr-08 23:01 
GeneralRe: OLESTR Pin
toxcct1-Apr-08 23:04
toxcct1-Apr-08 23:04 
GeneralRe: OLESTR Pin
George_George1-Apr-08 23:13
George_George1-Apr-08 23:13 
GeneralRe: OLESTR Pin
toxcct1-Apr-08 23:17
toxcct1-Apr-08 23:17 
GeneralRe: OLESTR Pin
George_George1-Apr-08 23:29
George_George1-Apr-08 23:29 
GeneralRe: OLESTR Pin
toxcct1-Apr-08 23:32
toxcct1-Apr-08 23:32 
GeneralRe: OLESTR Pin
George_George1-Apr-08 23:58
George_George1-Apr-08 23:58 
GeneralRe: OLESTR Pin
CPallini2-Apr-08 2:01
mveCPallini2-Apr-08 2:01 
GeneralRe: OLESTR Pin
George_George2-Apr-08 2:07
George_George2-Apr-08 2:07 
GeneralRe: OLESTR Pin
CPallini2-Apr-08 2:28
mveCPallini2-Apr-08 2:28 
GeneralRe: OLESTR Pin
George_George2-Apr-08 2:58
George_George2-Apr-08 2:58 
GeneralRe: OLESTR Pin
CPallini2-Apr-08 3:00
mveCPallini2-Apr-08 3:00 
GeneralRe: OLESTR Pin
George_George2-Apr-08 3:14
George_George2-Apr-08 3:14 

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.