🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1350

Communication between 1.3 and 2.0 programs

#1350
From: Andreas Girgensohn
Date: Wed, 02 Sep 1992 22:49
17 lines
1212 bytes
I have two 1.3 programs that communicate through semaphores and shared memory.
These programs run under 2.0 without problems.  I would like to replace one of
these programs by a 2.0 program (compiled with emx) without making any changes
to the other.  I tried putting the calls for creating semaphores and
allocating memory into a DLL compiled under 1.3.  I used this library under
2.0 (by creating an import file for a library similar to libos2.a) but I get a
segmentation fault when I call one of the functions in the library from my 2.0
program.  This is the header for the first function:

ULONG EXPENTRY init_fe ()

Does anybody know how I can use a 1.3 DLL in a 2.0 program or whether there is
another way to use 1.3 semaphores and shared memory in a 2.0 program?

Any help will be appreciated.

Andreas
Technical Details
Message-ID: <1992Sep2.224925.16850@nynexst.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.ans.net!nynexst.com!andreasg

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.ans.net!nynexst.com!andreasg
From: andreasg@nynexst.com (Andreas Girgensohn)
Subject: Communication between 1.3 and 2.0 programs
Message-ID: <1992Sep2.224925.16850@nynexst.com>
Sender: news@nynexst.com (For News purposes)
Organization: Nynex Science and Technology
Date: Wed, 2 Sep 92 22:49:25 GMT
Lines: 17