Vasya Pupkin <
XXXX@XXXXX.COM >schreef in berichtnieuws
XXXX@XXXXX.COM ...
Quote
Hi Rudy,
Hello Vasya,
Quote
>I'm currently trying to browse thru some text, and want to be able to
>read single lines outof it.
You can do it with either reading from the file into a buffer
or using a file-mapping object.
Que ? A file-mapping object ? I have absolutily no idea what you're
talking about :-\
I thought about loading blocks of data into a buffer, and read the data
char-by-char from it. Or find some call that does that for me :-)
I found that "fgets" does the job of reading the file line-by-line allright,
but allso terminates on a Ctrl-Z -char. And that is something I currently
do *not* need ... So, I think I have to do the buffering myself :-)
Quote
>Can anyone point me to where I can find an include-file to the ...
Heh! www.ols-lab.com/devcorner/impinc/ ;-)
Thanks for the pointer. I just tried it, and it generates a nice
output-file. Alas, I used TDUMP and QBasic to generate such an
include-file myself, so I do not need really that program :-)
By the way : I tried to convert a WINSOCK.DLL that I copied, from
C:\WINDOWS, into the directory the program was in, but for some reason it
could not find it (not at it's origional place, nor in the current directory
!).... When I tried the program with KERNEL32.DLL (C:\WINDOWS\SYSTEM) it
worked o.k. ... Strange !
The problem is that you can't extract which & what kind of arguments the
contained functions need. And that was/is what I was looking for.
Currently I do have a link to a few pages at MS, but have to convert them to
a single readable document myself. I hoped that such information was
allready compiled & ready for download. Well, you can't have everything,
can you ? :-)
Thanks for the help.
Regards,
Rudy Wieser