Click here to Skip to main content
15,920,005 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Path/String modification Pin
Luc Pattyn18-Jul-07 9:13
sitebuilderLuc Pattyn18-Jul-07 9:13 
AnswerRe: Path/String modification Pin
George L. Jackson17-Jul-07 13:53
George L. Jackson17-Jul-07 13:53 
Questionproblem in creating Dynamic Array library Pin
thdeofju17-Jul-07 8:14
thdeofju17-Jul-07 8:14 
AnswerRe: problem in creating Dynamic Array library Pin
Mark Salsbery17-Jul-07 8:32
Mark Salsbery17-Jul-07 8:32 
Question[C++/CLI]:impor huge file into memory Pin
ffgtrg1616g261217-Jul-07 7:21
ffgtrg1616g261217-Jul-07 7:21 
QuestionRe: [C++/CLI]:impor huge file into memory Pin
Mark Salsbery17-Jul-07 7:50
Mark Salsbery17-Jul-07 7:50 
AnswerRe: [C++/CLI]:impor huge file into memory Pin
ffgtrg1616g261217-Jul-07 11:08
ffgtrg1616g261217-Jul-07 11:08 
AnswerRe: [C++/CLI]:impor huge file into memory Pin
ffgtrg1616g261217-Jul-07 22:19
ffgtrg1616g261217-Jul-07 22:19 
Hello everyone,

As I said I have 4 giga of memory and the file is 5 giga.I use windows Vista64.
and VStudio2005.

Does the serialization work in this case?
What to do to load the file piece by piece?
Is it possible de developp my own serializer ? if yes, can you give me an idea please about how to do it?

Here is my function:
Sine my main class I call this import for differents files, and it is ok when they are not huge.

Here is my function:

FileFormat::openImport(CFile &file, const CString& filename, bool is_binary) const {
FileFormat *self = (FileFormat *) this;
self->filename_ = filename;
self->in_import_ = true;
self->current_line_ = 0;

CFileException file_exception;
if (is_binary) {
if (!file.Open(filename, CFile::modeRead | CFile::typeBinary | CFile::shareDenyWrite, &file_exception))
return openError(file_exception, filename, name_);
}
else {
if (!file.Open(filename, CFile::modeRead | CFile::typeText | CFile::shareDenyWrite, &file_exception))
return openError(file_exception, filename, name_);
}
return true;
}



Thanks.
assia


hgfh

GeneralRe: [C++/CLI]:impor huge file into memory Pin
Mark Salsbery18-Jul-07 5:43
Mark Salsbery18-Jul-07 5:43 
General3 Gb Memory Barrier Pin
George L. Jackson17-Jul-07 14:26
George L. Jackson17-Jul-07 14:26 
QuestionImplementation of CRC12,CRC16 Pin
Kiran Pinjala17-Jul-07 2:30
Kiran Pinjala17-Jul-07 2:30 
AnswerRe: Implementation of CRC12,CRC16 Pin
led mike17-Jul-07 4:56
led mike17-Jul-07 4:56 
Question(solved) strange thing_one digit missing when using %d for standard output [modified] Pin
bloodwinner17-Jul-07 2:15
bloodwinner17-Jul-07 2:15 
AnswerRe: (solved) strange thing_one digit missing when using %d for standard output Pin
Luc Pattyn17-Jul-07 3:09
sitebuilderLuc Pattyn17-Jul-07 3:09 
QuestionTo know the character strike Pin
mikobi16-Jul-07 22:28
mikobi16-Jul-07 22:28 
AnswerRe: To know the character strike Pin
Luc Pattyn16-Jul-07 23:23
sitebuilderLuc Pattyn16-Jul-07 23:23 
QuestionTo know the character strike Pin
mikobi16-Jul-07 22:24
mikobi16-Jul-07 22:24 
AnswerRe: To know the character strike Pin
Paul Conrad21-Jul-07 18:52
professionalPaul Conrad21-Jul-07 18:52 
Questionout parameters Pin
a.mulay16-Jul-07 20:37
a.mulay16-Jul-07 20:37 
AnswerRe: out parameters Pin
G Haranadh16-Jul-07 21:03
G Haranadh16-Jul-07 21:03 
AnswerRe: out parameters Pin
George L. Jackson17-Jul-07 12:01
George L. Jackson17-Jul-07 12:01 
GeneralRe: out parameters Pin
a.mulay17-Jul-07 17:33
a.mulay17-Jul-07 17:33 
GeneralRe: out parameters Pin
G Haranadh26-Jul-07 6:46
G Haranadh26-Jul-07 6:46 
QuestionStatic member variable in class? Pin
G Haranadh16-Jul-07 19:59
G Haranadh16-Jul-07 19:59 
AnswerRe: Static member variable in class? Pin
Shoaib Hussain17-Jul-07 3:19
Shoaib Hussain17-Jul-07 3: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.