Click here to Skip to main content
15,901,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

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


Because I am reading code which pass pointer to string literal allocated in one function, to another function.

I want to know,

1. whether it is safe code?
2. If not, how to make it safe, by turning on string pooling? (I want to save my efforts to rewrite all such code if it is unsafe).


regards,
George
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 
GeneralRe: OLESTR Pin
George_George7-Apr-08 3:58
George_George7-Apr-08 3:58 
GeneralRe: OLESTR Pin
Hamid_RT7-Apr-08 4:12
Hamid_RT7-Apr-08 4:12 
GeneralRe: OLESTR Pin
George_George7-Apr-08 4:16
George_George7-Apr-08 4:16 
GeneralRe: OLESTR Pin
Hamid_RT7-Apr-08 4:28
Hamid_RT7-Apr-08 4:28 

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.