Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.powerbasic > #55

Re: Please Help - I'm In Over My Head

From "Auric__" <not.my.real@email.address>
Newsgroups alt.lang.powerbasic, comp.lang.basic.powerbasic
Subject Re: Please Help - I'm In Over My Head
Date 2012-09-07 05:04 +0000
Organization A noiseless patient Spider
Message-ID <XnsA0C6E07B6FEE8auricauricauricauric@88.198.244.100> (permalink)
References <1t72s.3$MA2.2@newsfe01.iad>

Cross-posted to 2 groups.

Show all headers | View raw


Wildman wrote:

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

How about asm? Write a routine that does what you need, compile it into a 
DLL, call the function from VB or PB.

-- 
I want to get a tattoo of myself on my entire body, only 2" taller.
 -- Steven Wright

Back to comp.lang.basic.powerbasic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Please Help - I'm In Over My Head Wildman <best_lay@yahoo.com> - 2012-09-06 20:12 +0000
  Re: Please Help - I'm In Over My Head "Auric__" <not.my.real@email.address> - 2012-09-07 05:04 +0000
    Re: Please Help - I'm In Over My Head Wildman <best_lay@yahoo.com> - 2012-09-07 05:25 +0000
      Re: Please Help - I'm In Over My Head "Auric__" <not.my.real@email.address> - 2012-09-07 05:39 +0000
      Re: Please Help - I'm In Over My Head "Auric__" <not.my.real@email.address> - 2012-09-07 05:43 +0000
        Re: Please Help - I'm In Over My Head Wildman <best_lay@yahoo.com> - 2012-09-07 18:30 +0000

csiph-web