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

C / C++ / MFC

 
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 
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 
Thanks toxcct,


1.

Do you mean when we enable string pooling, OLESTR string literal will be in global read-only memory, and it is safe to pass from one OLESTR pointer pointed to string allocated in one function to another function.

2.

If we do not enable string pooling, OLESTR string will be in stack, and above operation is not safe?

3.

You always treat OLESTR in stack? Other than in global accessible memory area?


regards,
George
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 
GeneralRe: OLESTR Pin
Stephen Hewitt2-Apr-08 16:24
Stephen Hewitt2-Apr-08 16:24 
GeneralRe: OLESTR Pin
George_George3-Apr-08 0:17
George_George3-Apr-08 0:17 
GeneralRe: OLESTR Pin
Stephen Hewitt6-Apr-08 14:58
Stephen Hewitt6-Apr-08 14:58 
GeneralRe: OLESTR Pin
George_George6-Apr-08 17:08
George_George6-Apr-08 17:08 
GeneralRe: OLESTR Pin
Hamid_RT7-Apr-08 3:42
Hamid_RT7-Apr-08 3:42 

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.