Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to access long filename length in DOS? (na_th_an)
#21
Ok. Nice to know. But it is already commented in the code:

Quote:
Code:
'* In QuickBASIC PDS and VisualBASIC, change all the lines in the format
'  "VARSEG(any.string.variable$)" to "SSEG(any.string.variable$)".
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#22
I can't do it in qb45, either. I get divide by zero error when trying to copy.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#23
Search on Google for "LFN quickbasic" and you'll doubtless find a dozen libraries.... but...

http://unknown.network32.net/qb/lfn2.zip

Written in Assembly, with source. It's been a while since I looked at it, but I know it at least *worked*. All it has is short->long and long->short. Includes QLB, OBJ, ASM, and BAS test file.

-[Unknown]
Reply
#24
i actually found the same thing in my old files:

http://www.geocities.com/pisforpi/lfn.zip

But now I am confuzzled on how to combine lfn lib and ugl lib with multilib, since I suck.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#25
If you have LFN.LIB and UGL.LIB, and you want to combine them into one library, named for example, LFNUGL.LIB:

LIB LFNUGL +LFN.LIB +UGL.LIB;

To make LFNUGL.QLB:

LINK /Q LFNUGL.LIB, LFNUGL,, BQLB45;

or before you make LFNUGL.LIB, via

LINK /Q LFN.LIB UGL.LIB, LFNUGL,, BQLB45;
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#26
the qlb won't link due to too many segments.

Blitz said how to compile UGL here, maybe that is what some smarter dude could use to figure it out? Smile

http://forum.qbasicnews.com/viewtopic.ph...ompile+ugl
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#27
with the /Q option. I don't know. I've never tried it. (But I can't see offhand why it shouldn't be allowed.)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#28
works Smile
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#29
hey ag, the ugl builder allows you to add 14 of your own objs/libs. I just uploaded it. Get the latest build.
oship me and i will give you lots of guurrls and beeea
Reply
#30
i might do this later, but you're too late, blitz. I already did what I needed. Sad
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)