DataSection Question

Everything else that doesn't fall into one of the other PB categories.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

DataSection Question

Post by fsw »

Since V4 we can put addresses of Labels or Procedures into the datasection.

How can it be achieved to:
  • make procedure
    make library with the procedure (TailBite or PB-V4.1)
    put the address of the procedure into the datasection and use it with interfaces
When functions (procedures) are used (from a lib) they are linked into the exe.
This linked function has a address.
How can this addres be written into a datasection?

When is the datasection written?
Before modules are linked together or afterwards (the last step)?

Can this be achieved?
Or is this only possible with a 2 pass compiler?
(if at all)
:roll:
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

make library with the procedure (TailBite or PB-V4.1)
Wow, you own PB v4.1? I have seen an ufo and someone coming from the future :lol:
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Post Reply