Poll: do you knew that the files *.Qlb and *.Dll are executables?
You do not have permission to vote in this poll.
Yes.
100.00%
4 100.00%
No.
0%
0 0%
Total 4 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Qlb and Dll
#1
i believe they are.
Reply
#2
.DLLs for Win32 are stores in the PE file format, however they are marked as dynamic link libraries and not as executable programs, hence they do not have the same type of entry point. Also, in most DLLs the base memory address set in the PE header differs from the base memory address in an application of program file.

Older DLLs are often in the LE format and have similar differences.

Quick Basic quick libraries do indeed have an DOS executable header (MZ signature and other information), but I suspect this is merely used to take advantage of the segment fixup table in the header. The program load size field of the header of QB.QLB is around 1.7 megabytes (although the file itself is less than 600 kilobytes), whick is certainly too large to load as an executable on a DOS system, and any attempt to do so will result in an error. If renamed to an file with an .EXE extention, COMMAND.COM and CMD.COM will report that the program is large to load into memory.
Reply
#3
They're "executable" in the sense that they contain executable code; however, they aren't things you can pass to DOS and say "execute this". QLBs are no more than special wrappers for object files that the QB IDE knows how to "link" dynamically at run time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)