Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe01.iad.POSTED!not-for-mail From: Wildman Subject: Please Help - I'm In Over My Head Newsgroups: alt.lang.powerbasic,comp.lang.basic.powerbasic User-Agent: Pan/0.133 (House of Butterflies) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lines: 20 Message-ID: <1t72s.3$MA2.2@newsfe01.iad> X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Thu, 06 Sep 2012 20:12:45 UTC Organization: TeraNews.com Date: Thu, 06 Sep 2012 20:12:45 GMT X-Received-Bytes: 1498 Xref: csiph.com comp.lang.basic.powerbasic:54 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.