Click here to Skip to main content
15,911,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Include Header file at run time. Pin
002comp17-Apr-09 1:05
002comp17-Apr-09 1:05 
GeneralRe: Include Header file at run time. Pin
Stuart Dootson17-Apr-09 1:09
professionalStuart Dootson17-Apr-09 1:09 
GeneralRe: Include Header file at run time. Pin
002comp17-Apr-09 1:26
002comp17-Apr-09 1:26 
GeneralRe: Include Header file at run time. Pin
Stuart Dootson17-Apr-09 1:51
professionalStuart Dootson17-Apr-09 1:51 
GeneralRe: Include Header file at run time. Pin
Cedric Moonen17-Apr-09 1:11
Cedric Moonen17-Apr-09 1:11 
GeneralRe: Include Header file at run time. Pin
Cedric Moonen17-Apr-09 2:00
Cedric Moonen17-Apr-09 2:00 
GeneralRe: Include Header file at run time. Pin
002comp17-Apr-09 2:17
002comp17-Apr-09 2:17 
GeneralRe: Include Header file at run time. Pin
Cedric Moonen17-Apr-09 2:30
Cedric Moonen17-Apr-09 2:30 
Yes, like I said earlier you have to save it in a file: either binary format or your own format. But I asked some information and you didn't provide any usefull information, so it will be difficult to help you.

I guess you don't really understand what I and Stuart are telling you about these files. Ok, let me explain you that another way: when you save a word document for instance, everything gets saved to a file and when you load the document, Word opens this document and read the information out of it. Well, you have to do something similar in your application: you load your data from the file. Thus you will need to use CFile or std::ifstream to read the file contents and store them in memory.


yogeshs wrote:
Do u have any idea to do that?


Forget about that idea of runtime header, that's not something which is possible.

Cédric Moonen
Software developer

Charting control [v2.0 - Updated]
OpenGL game tutorial in C++

GeneralRe: Include Header file at run time. Pin
zhanzongru19-Apr-09 1:27
zhanzongru19-Apr-09 1:27 
QuestionZip Folder Pin
Davitor17-Apr-09 0:20
Davitor17-Apr-09 0:20 
AnswerRe: Zip Folder Pin
Hamid_RT17-Apr-09 0:27
Hamid_RT17-Apr-09 0:27 
GeneralRe: Zip Folder Pin
Davitor17-Apr-09 1:09
Davitor17-Apr-09 1:09 
GeneralRe: Zip Folder Pin
Rajesh R Subramanian17-Apr-09 3:42
professionalRajesh R Subramanian17-Apr-09 3:42 
GeneralRe: Zip Folder Pin
Hamid_RT17-Apr-09 6:29
Hamid_RT17-Apr-09 6:29 
AnswerRe: Zip Folder Pin
002comp17-Apr-09 0:40
002comp17-Apr-09 0:40 
QuestionWhy do i get this error (Repost)? How can i resolve this issue? Pin
kapardhi16-Apr-09 23:02
kapardhi16-Apr-09 23:02 
AnswerRe: Why do i get this error (Repost)? How can i resolve this issue? Pin
Cedric Moonen16-Apr-09 23:10
Cedric Moonen16-Apr-09 23:10 
GeneralRe: Why do i get this error (Repost)? How can i resolve this issue? Pin
kapardhi16-Apr-09 23:17
kapardhi16-Apr-09 23:17 
QuestionRe: Why do i get this error (Repost)? How can i resolve this issue? Pin
kapardhi17-Apr-09 2:47
kapardhi17-Apr-09 2:47 
QuestionReading from file Pin
Dercio16-Apr-09 22:08
Dercio16-Apr-09 22:08 
AnswerRe: Reading from file Pin
«_Superman_»16-Apr-09 22:20
professional«_Superman_»16-Apr-09 22:20 
AnswerRe: Reading from file Pin
Rajesh R Subramanian16-Apr-09 22:20
professionalRajesh R Subramanian16-Apr-09 22:20 
AnswerRe: Reading from file Pin
Stuart Dootson16-Apr-09 22:28
professionalStuart Dootson16-Apr-09 22:28 
AnswerRe: Reading from file Pin
CPallini16-Apr-09 23:18
mveCPallini16-Apr-09 23:18 
AnswerRe: Reading from file Pin
David Crow17-Apr-09 3:12
David Crow17-Apr-09 3:12 

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.