Thanks, I'll try it at my next opportunity.
BTW, using the NUL device to test for the existence of a directory was an old DOS Batch trick.
https://www.robvanderwoude.com/battech_ifexistfolder.php
Search found 48 matches
- Jul 10, 2019 23:44
- Forum: General
- Topic: NUL device in DOS and Windows
- Replies: 6
- Views: 2271
- Jul 10, 2019 23:19
- Forum: General
- Topic: NUL device in DOS and Windows
- Replies: 6
- Views: 2271
NUL device in DOS and Windows
I am trying to use the following code to create the next available directory named "Blocks_nn", where nn = 00, 01, 02, etc. When I compile the code for DOS, it works as expected. However, when I compile it for Win32, it finds no spare directories. It would appear that the NUL device is tre...
- Sep 29, 2018 3:00
- Forum: Beginners
- Topic: Importing C code into a FreeBasic program
- Replies: 4
- Views: 1015
Importing C code into a FreeBasic program
Is there a way to incorporate C code into a FreeBasic program as a callable function in the same way that one can import ASM code? I've read about calling functions in C libraries, but my needs are a little different. Essentially I would like to adapt the Decode function of LZHUF.C. I would like to ...