Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Toggling the password style in an edit box Pin
Michael Dunn26-Oct-03 20:19
sitebuilderMichael Dunn26-Oct-03 20:19 
QuestionHow to kill a process by its processID? Pin
George225-Oct-03 17:18
George225-Oct-03 17:18 
AnswerRe: How to kill a process by its processID? Pin
Michael Dunn25-Oct-03 17:36
sitebuilderMichael Dunn25-Oct-03 17:36 
GeneralRe: How to kill a process by its processID? Pin
George225-Oct-03 23:11
George225-Oct-03 23:11 
AnswerRe: How to kill a process by its processID? Pin
Carlos Antollini25-Oct-03 17:45
Carlos Antollini25-Oct-03 17:45 
GeneralRe: How to kill a process by its processID? Pin
George225-Oct-03 23:13
George225-Oct-03 23:13 
GeneralResources Pin
Daniel132425-Oct-03 17:12
Daniel132425-Oct-03 17:12 
GeneralRe: Resources Pin
Terry O'Nolley25-Oct-03 17:48
Terry O'Nolley25-Oct-03 17:48 
I'm not sure I understand. You say that you do not want to distribute the text file.
Do you mean that you don't want to have separate files?

If so, then resources is the way to go!

How big are these text files?

Assuming that you have added the text files as resources to your app, you can simply call LoadResource() to get your text and from there create the temp files (if you actually need them).

Normally, there would be no reason to have a predetermined binary pattern (your text files) that would be written to disc and then read from. Why not just read the files' data directly from memory?







GeneralRe: Resources Pin
Daniel132425-Oct-03 17:53
Daniel132425-Oct-03 17:53 
GeneralRe: Resources Pin
Terry O'Nolley25-Oct-03 18:04
Terry O'Nolley25-Oct-03 18:04 
GeneralRe: Resources Pin
Daniel132425-Oct-03 18:14
Daniel132425-Oct-03 18:14 
GeneralRe: Resources Pin
Roger Allen27-Oct-03 2:46
Roger Allen27-Oct-03 2:46 
GeneralRe: Resources Pin
Daniel132427-Oct-03 7:31
Daniel132427-Oct-03 7:31 
Questionhow to add dynamically to Combo Box Pin
mr200325-Oct-03 15:46
mr200325-Oct-03 15:46 
AnswerRe: how to add dynamically to Combo Box Pin
Ravi Bhavnani25-Oct-03 17:34
professionalRavi Bhavnani25-Oct-03 17:34 
AnswerRe: how to add dynamically to Combo Box Pin
Michael Dunn25-Oct-03 17:34
sitebuilderMichael Dunn25-Oct-03 17:34 
AnswerRe: how to add dynamically to Combo Box Pin
Terry O'Nolley25-Oct-03 17:53
Terry O'Nolley25-Oct-03 17:53 
GeneralMaking video slider using Win32 Pin
IGx8925-Oct-03 13:45
IGx8925-Oct-03 13:45 
GeneralRe: Making video slider using Win32 Pin
Ravi Bhavnani25-Oct-03 17:29
professionalRavi Bhavnani25-Oct-03 17:29 
GeneralRe: Making video slider using Win32 Pin
IGx8926-Oct-03 6:33
IGx8926-Oct-03 6:33 
GeneralRe: Making video slider using Win32 Pin
Ravi Bhavnani26-Oct-03 6:41
professionalRavi Bhavnani26-Oct-03 6:41 
GeneralRe: Making video slider using Win32 Pin
IGx8926-Oct-03 6:44
IGx8926-Oct-03 6:44 
GeneralRe: Making video slider using Win32 Pin
Ravi Bhavnani26-Oct-03 6:49
professionalRavi Bhavnani26-Oct-03 6:49 
GeneralRe: Making video slider using Win32 Pin
IGx8926-Oct-03 10:13
IGx8926-Oct-03 10:13 
Generalselect() Pin
Alexander M.,25-Oct-03 13:37
Alexander M.,25-Oct-03 13:37 

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.