home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / programm / 7365 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.3 KB

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