You had more problems!
1. you don't need FILE *fopen();
2. fopen does not accept string as first parameter;
3. The file name you wanted to the disk was "Statistics 04/10/03"; That name is invalid. Instead I replaced / with _.
#include <math.h>
#include <conio.h>
#include <iomanip>...
The RichEdit control is limited to a number of chars. It seems that number is smaller under XP platform then Me platform.
My problem is that i have a big file and I can not load it into the RichEdit (on Windows Me works just fine).
So, what can I do?
Sugestion:
Maybe it is another function. Check them all.
For tracking memory leaks I use "Stress Utility" from Visual C++ Tools. You have to watch the the GDI.
I want to print some drawing but it stops printing before the call of EndPage(). I think it is because that the paper is set on A4. I do not want an A4, I want a custom paper. I don't know how to change this dinamically.
I accept any sugestion!
I don't know how you do the static linking but i am doing this way:
- I create the dll
- I copy the files with .dll, .lib, .h extensions, where I want to use it
- I include the header of MyDll in the header of my executable:
#include "MyDll.h"
#pragma comment (lib,"MyDll.lib")
You may use a istream and use the "fstream ::getline( char* pch, int nCount, char delim = '\n' )" function.
Ex.:
fstream in("filename.txt",ios::in );
in.getline(buf,90,'\n');
Hello!
I'm not sure that I can help you, but you can try this!
If you are using the API object socket, you can send a string of bytes.You read the bytes from the file and the client recive them.If the file is very large, you can read the bytes and send them in multiple steps.
I am not aware of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.