Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by viorel15

  1. viorel15

    Saving the time into the name of the output file???

    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 &quot;Statistics 04/10/03&quot;; That name is invalid. Instead I replaced / with _. #include <math.h> #include <conio.h> #include <iomanip>...
  2. viorel15

    Rich Edit problem on XP!

    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?
  3. viorel15

    Memory leaks

    Sugestion: Maybe it is another function. Check them all. For tracking memory leaks I use &quot;Stress Utility&quot; from Visual C++ Tools. You have to watch the the GDI.
  4. viorel15

    How do I print on a printer with continous paper?

    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!
  5. viorel15

    dialogs and libraries...can't get DoModal to work

    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 &quot;MyDll.h&quot; #pragma comment (lib,&quot;MyDll.lib&quot;)
  6. viorel15

    Convert CDatabase to CDatabase*

    That is a pointer of CDatabase. What do you need it for?If you have to pass it as an argument to a function use '&' before your CDatabase object.
  7. viorel15

    Grabbing a single line from CFile read

    You may use a istream and use the &quot;fstream ::getline( char* pch, int nCount, char delim = '\n' )&quot; function. Ex.: fstream in(&quot;filename.txt&quot;,ios::in ); in.getline(buf,90,'\n');
  8. viorel15

    Transfering files using socket programming

    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...

Part and Inventory Search

Back
Top