home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: 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
-
- 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
-