home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.programmer:7365 comp.os.os2.apps:9925
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!wupost!cs.utexas.edu!natinst.com!natinst.com!not-for-mail
- From: ramdas@natinst.com (Malathi Ramdas)
- Newsgroups: comp.os.os2.programmer,comp.os.os2.apps
- Subject: CSET/2 Problem: Using a DLL for multiple applications con
- Date: 6 Jan 1993 17:30:14 -0600
- Organization: National Instruments, Austin, TX
- Lines: 17
- Distribution: world
- Message-ID: <1ifq26INN77@eagle.natinst.com>
- NNTP-Posting-Host: eagle.natinst.com
-
-
-
- I have compiled a language interface as a DLL using the 32-bit CSET/2
- compiler. I link this DLL with a sample application. As long as I have only
- one copy of this application running things work fine. But if try to run
- another application (or the same application) that accesses the same DLL
- while the other one is still active,
- the second application gives a General Protection Fault Error. (
- 'Exception Occurred in C Library Routine called from EIP=----'). I am using
- the INITINSTANCE and TERMINSTANCE options in my DEF file. I am linking
- the C Library routines statically. If anyone has encountered similar problems
- and know the solution to it or has suggestions I would like to hear from
- you.
-
- Thanks
- Malti Ramdas
- ramdas@eagle.natinst.com
-