Thanks to you good comments, and a little work of my own, I used Dos.lib to pen an IFF file and read some bytes into memory. It clearly showed the labels inside the file, e.g. CMAP, and I could find the beginning of the chunk of bitmap (was about $E0 bytes from the start), the sites offered good insight. Thanks again guys.
I do everything property and open a window in the CLI, but my texts do not go into it (using dos/WRITE)! I can only write to the CLI itself. I suppose giving the window-handle is not enough, do I need to make anything else for the window for it to accept text? Any help or hint will be appreciated.
Also, to put out text (or other stuff) into a window or screen I need to provide a "Rasterport" address/handle, how do I get one? I suppose it is embedded in some structure, am I right?
Ok, I got the rasterport from inside screen/window structure, but it does not work! The one I get from a window structure does nothing (e.g. write pixel), the one from screen works! But not in a nice manner!
Hey. I have done many things for the project I mentioned earlier. I can now find directories and open files and read their contents. I have made functions to search for a 'string' in a memory area. I have made the codes needed to show a "raw" (IFF-Convertor) image file as a screen.
I need something. I need to read "a command line argument" to show the directory of pictures as the user wishes to see. How can I read the arguments following a file name inside a CLI window? Any ideas?