home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!josef!caliaro
- From: caliaro@avalon.physik.unizh.ch (Aurelio Caliaro)
- Subject: DDE2OS.ZIP
- Message-ID: <1992Dec12.131624.22976@ifi.unizh.ch>
- Sender: news@ifi.unizh.ch (USENET News Admin)
- Nntp-Posting-Host: avalon
- Organization: University of Zurich, Department of Computer Science
- X-Newsreader: Tin 1.1 PL4
- Date: Sat, 12 Dec 1992 13:16:24 GMT
- Lines: 27
-
- The sample programs written by MacFaden@IBM do not compile without changes
- on EMX-GCC. In fact, there are 2 things that must be changed: First:
- replace the // comment notation with /* */.
- Second: remove the itoa((int)CF_TEXT, szBuf, 10) in server.c, and insert into
- the following line "1" (without "") instead of szBuf.
- I renamed the new .c-files as .emx.c
-
- Compiling works as following:
-
- gcc -g -c client.emx.c
- gcc -g -o client.prov client.emx.o -los2 -Zmt
- rc -r -i \emx\include client.rc
- emxbind -bpq -rclient.res /emx/bin/emxl client.prov
-
- gcc -g -c server.emx.c
- emxomf server.emx.o
- gcc -g -Zomf server.emx.obj server.def -o server.exe -los2
-
- The complete package (including the exe files) can be gotten as uudecoded
- mail. If you are interested in it, mail me to
- caliaro@avalon.physik.unizh.ch
- or post the request into this group.
-
-
-
-
- Aurelio Caliaro
-