🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7354

DESQview, MS-Dos, Teleconference

#7354
From: Russell Mennie
Date: Wed, 26 Jun 1991 13:52
48 lines
2183 bytes
I'm currently writing a Teleconference program for the IBM.  It's
settup to use the DESQview routines as stated in the back of the manual. 
However, I'm having trouble with one thing..  How do you "share memory"
within Turbo Pascal 6.0?  This is what i'm trying to do:

type
    Teleconrec = record
        Name,
        Psuedo   :String[40];
        Security :Word;
        City     :String[30];
    End;        
 
ok... you get the point.. this is just in general... now:  one of these
records is kept for each user online, and in the teleconference..  I could
easily hook this up to a binary file, and read it as "File of Teleconrec"..
and everything would work fine.. however, all that disk access would slow
things down considerably, considering the chain would have to be check on
every sentence the user sent out..
 
Normally.. under a single task.. i could simply put this into memory,
and have it something like this:
 
type
    TelecPtr = ^TelecOnREc;
    TelecOnRec = Record
        Name,
        Psuedo   :String[40];
        Security :Word;
        City     :String[30];
        NextUser :TelecPtr;
    End;
 
and it would work fine.. but because DESQview and QEMM386.SYS is handling
the memory, there is seperate memory for each partition/window that DESQview
is running.. so it's not the same memory.......  any suggestions?
 
 
--  Notation:
 - I'm writing this Teleconference to be used with REMOTE ACCESS 1.01,
 - MS-DOS 3.30+ (i'm using 5.0)
 - DESQview 2.32
 - an IBM 486-25 with 8 megs Memory installed
 - 4 lines running off of 2400bps Smart Modems
 
so if there is any way in which i can handle this properly, by avoiding
the use of that swap/dummy file.. please let me know, as your input
would be greatly appreciated..
Technical Details
Message-ID: <Russell_Mennie.3504@resbbs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!resbbs!Russell_Mennie

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!resbbs!Russell_Mennie
From: Russell_Mennie@resbbs.UUCP (Russell Mennie)
Message-ID: <Russell_Mennie.3504@resbbs.UUCP>
Newsgroups: comp.os.msdos.programmer
Subject: DESQview, MS-Dos, Teleconference
Distribution: world
Date: 26 Jun 91 05:52:11 PST
Organization: Resonance - British Columbia, Canada