Search found 48 matches

by fzabkar
Jul 10, 2019 23:44
Forum: General
Topic: NUL device in DOS and Windows
Replies: 6
Views: 2271

Re: NUL device in DOS and Windows

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

Go to advanced search