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

C / C++ / MFC

 
QuestionMFCShellTree: I want to see even files Pin
Salvatello15-Dec-14 4:29
Salvatello15-Dec-14 4:29 
SuggestionRe: MFCShellTree: I want to see even files Pin
David Crow15-Dec-14 4:32
David Crow15-Dec-14 4:32 
QuestionDevice Context Origin [SOLVED] Pin
Richard Andrew x6413-Dec-14 13:46
professionalRichard Andrew x6413-Dec-14 13:46 
QuestionA simple question about Static Controls Pin
tiwal10-Dec-14 20:54
tiwal10-Dec-14 20:54 
AnswerRe: A simple question about Static Controls Pin
tiwal10-Dec-14 20:56
tiwal10-Dec-14 20:56 
AnswerRe: A simple question about Static Controls Pin
«_Superman_»10-Dec-14 21:56
professional«_Superman_»10-Dec-14 21:56 
AnswerRe: A simple question about Static Controls Pin
Richard MacCutchan10-Dec-14 22:06
mveRichard MacCutchan10-Dec-14 22:06 
GeneralRe: A simple question about Static Controls Pin
tiwal10-Dec-14 23:37
tiwal10-Dec-14 23:37 
Questionhow to replace \n with alt+enter while exporting to .CSV Pin
sma123#10-Dec-14 6:17
sma123#10-Dec-14 6:17 
AnswerRe: how to replace \n with alt+enter while exporting to .CSV Pin
Jochen Arndt10-Dec-14 9:28
professionalJochen Arndt10-Dec-14 9:28 
QuestionPlease what is wrong with this my MFC code, what am I doing wrong? Pin
Gbenbam9-Dec-14 22:55
Gbenbam9-Dec-14 22:55 
SuggestionRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
Jochen Arndt9-Dec-14 23:32
professionalJochen Arndt9-Dec-14 23:32 
GeneralRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
Gbenbam11-Dec-14 0:20
Gbenbam11-Dec-14 0:20 
GeneralRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
Jochen Arndt11-Dec-14 2:15
professionalJochen Arndt11-Dec-14 2:15 
AnswerRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
Jochen Arndt9-Dec-14 23:36
professionalJochen Arndt9-Dec-14 23:36 
AnswerRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
David Crow10-Dec-14 17:28
David Crow10-Dec-14 17:28 
GeneralRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
Gbenbam11-Dec-14 1:09
Gbenbam11-Dec-14 1:09 
GeneralRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
Freak3011-Dec-14 3:11
Freak3011-Dec-14 3:11 
GeneralRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
Richard MacCutchan11-Dec-14 6:39
mveRichard MacCutchan11-Dec-14 6:39 
GeneralRe: Please what is wrong with this my MFC code, what am I doing wrong? Pin
Gbenbam16-Dec-14 20:22
Gbenbam16-Dec-14 20:22 
QuestionVariable in flash memory - how to write? Pin
elelont29-Dec-14 20:43
elelont29-Dec-14 20:43 
AnswerRe: Variable in flash memory - how to write? Pin
Jochen Arndt9-Dec-14 21:33
professionalJochen Arndt9-Dec-14 21:33 
GeneralRe: Variable in flash memory - how to write? Pin
elelont29-Dec-14 22:39
elelont29-Dec-14 22:39 
GeneralRe: Variable in flash memory - how to write? Pin
Jochen Arndt9-Dec-14 23:28
professionalJochen Arndt9-Dec-14 23:28 
The flash memory of the PIC controllers is the program memory where code is stored. You can initialize the variable at compile time and it will be written together with the program code.

To write to the program memory by the running program you need to execute special instructions. For the PIC 32 see section 5. Flash Programming[^ PDF] of the PIC32 Family Reference Manual.

A compiler or assembler may provide functions or macros to perform the writing or compilers may have built-in support for writing. So the answer if the value is written depends on the used compiler. But if the compiler does not support writing to flash memory, you will get an error at compile time.
GeneralRe: Variable in flash memory - how to write? Pin
elelont210-Dec-14 0:06
elelont210-Dec-14 0:06 

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.