Article View: comp.os.os2.programmer
Article #3311CSET/2 Problem: Using a DLL for multiple applications con
From: Malathi Ramdas
Date: Wed, 06 Jan 1993 23:30
Date: Wed, 06 Jan 1993 23:30
17 lines
1260 bytes
1260 bytes
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
Technical Details
Message-ID:
<1ifq26INN77@eagle.natinst.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!wupost!cs.utexas.edu!natinst.com!natinst.com!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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