Click here to Skip to main content
15,909,242 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make an exe Pin
Hamid_RT12-Sep-06 1:31
Hamid_RT12-Sep-06 1:31 
AnswerRe: How to make an exe Pin
toxcct12-Sep-06 1:18
toxcct12-Sep-06 1:18 
AnswerRe: How to make an exe Pin
A_Fa12-Sep-06 1:21
A_Fa12-Sep-06 1:21 
GeneralRe: How to make an exe Pin
toxcct12-Sep-06 1:27
toxcct12-Sep-06 1:27 
GeneralRe: How to make an exe Pin
Emilio Garavaglia12-Sep-06 2:08
Emilio Garavaglia12-Sep-06 2:08 
AnswerRe: How to make an exe Pin
David Crow12-Sep-06 7:23
David Crow12-Sep-06 7:23 
Questionchar * query [modified] Pin
prasad_som12-Sep-06 0:44
prasad_som12-Sep-06 0:44 
AnswerRe: char * query Pin
Sebastian Schneider12-Sep-06 0:57
Sebastian Schneider12-Sep-06 0:57 
Because you do not know where the compiler placed the string "test".

What you did with that one was telling the compiler to give you the adress of "test". That means, the compiler has to find a location to place "test" in. And that might, following the C++-Standard, be anywhere, even locations that are not writeable from inside the code.

You should not make any assumptions on where the compiler places this. You need to assign memory to the char*, then copy "test" into the char*, in order for this to work.

Cheers,
Sebastian

--
Contra vim mortem non est medicamen in hortem.

GeneralRe: char * query Pin
prasad_som12-Sep-06 1:08
prasad_som12-Sep-06 1:08 
AnswerRe: char * query Pin
Defenestration12-Sep-06 1:15
Defenestration12-Sep-06 1:15 
GeneralRe: char * query Pin
prasad_som12-Sep-06 1:36
prasad_som12-Sep-06 1:36 
AnswerRe: char * query Pin
Nibu babu thomas12-Sep-06 1:24
Nibu babu thomas12-Sep-06 1:24 
GeneralRe: char * query Pin
prasad_som12-Sep-06 1:37
prasad_som12-Sep-06 1:37 
AnswerRe: char * query Pin
Zac Howland12-Sep-06 4:24
Zac Howland12-Sep-06 4:24 
GeneralRe: char * query Pin
prasad_som12-Sep-06 18:56
prasad_som12-Sep-06 18:56 
QuestionFetching records in Bulk Pin
Bravoone_200612-Sep-06 0:30
Bravoone_200612-Sep-06 0:30 
AnswerRe: Fetching records in Bulk Pin
toxcct12-Sep-06 0:33
toxcct12-Sep-06 0:33 
GeneralRe: Fetching records in Bulk Pin
Hamid_RT12-Sep-06 1:43
Hamid_RT12-Sep-06 1:43 
GeneralRe: Fetching records in Bulk Pin
toxcct12-Sep-06 1:50
toxcct12-Sep-06 1:50 
GeneralRe: Fetching records in Bulk Pin
Hamid_RT12-Sep-06 2:04
Hamid_RT12-Sep-06 2:04 
GeneralRe: Fetching records in Bulk Pin
toxcct12-Sep-06 2:42
toxcct12-Sep-06 2:42 
GeneralRe: Fetching records in Bulk Pin
Hamid_RT12-Sep-06 2:50
Hamid_RT12-Sep-06 2:50 
AnswerRe: Fetching records in Bulk Pin
Hamid_RT13-Sep-06 8:10
Hamid_RT13-Sep-06 8:10 
Questionproblem with resource file Pin
sunil kumar verma12-Sep-06 0:06
sunil kumar verma12-Sep-06 0:06 
AnswerRe: problem with resource file Pin
Waldermort12-Sep-06 0:19
Waldermort12-Sep-06 0:19 

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.