Wildman
2012-09-06 20:12:45 UTC
I am trying to write a program using VB3 on WFW 3.11.
The program needs to call a couple of DOS interrupts
and one of the calls require that a read/write data
table be setup and the segment:offset address of the
table must be passed to the interrupt via es:bx.
Since VB3 can't handle this, I turned to PB/DLL 1.10
but I have not been able to get anything to work. I
tried creating the table using a UDT, a string and as
assembly data using labels. None of it worked. Either
the system froze or I got a GPF and then it crashed.
I think the problem I am having is getting the correct
segmented address of the table.
In summary what I am asking, is there a way to create
a read/write data table and get the correct "segmented"
address? Any suggestions would be appreciated.
BTW The other DOS interrupts that do not require a
data table work just fine.
The program needs to call a couple of DOS interrupts
and one of the calls require that a read/write data
table be setup and the segment:offset address of the
table must be passed to the interrupt via es:bx.
Since VB3 can't handle this, I turned to PB/DLL 1.10
but I have not been able to get anything to work. I
tried creating the table using a UDT, a string and as
assembly data using labels. None of it worked. Either
the system froze or I got a GPF and then it crashed.
I think the problem I am having is getting the correct
segmented address of the table.
In summary what I am asking, is there a way to create
a read/write data table and get the correct "segmented"
address? Any suggestions would be appreciated.
BTW The other DOS interrupts that do not require a
data table work just fine.