home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4462 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.0 KB

  1. Xref: sparky comp.os.os2.programmer:4462 comp.os.os2.apps:5560
  2. Path: sparky!uunet!usc!rpi!gatech!swrinde!news.dell.com!natinst.com!ramdas
  3. From: ramdas@natinst.com (Malathi Ramdas)
  4. Newsgroups: comp.os.os2.programmer,comp.os.os2.apps
  5. Subject: Exporting variables from DLL's
  6. Message-ID: <1992Aug26.213514.14162@natinst.com>
  7. Date: 26 Aug 92 21:35:14 GMT
  8. Sender: news@natinst.com
  9. Organization: National Instruments, Austin, TX
  10. Lines: 9
  11. Nntp-Posting-Host: eagle.natinst.com
  12.  
  13.  
  14.      Is it possible to export global variables from a DLL? I have written a
  15. DLL that exports 3 variables. I have created an import library for an appl
  16. ication that wishes to use this DLL. As soon as I try to run this application
  17. it complains about not being able to find these variables in the DLL module.
  18. It seems like from the export declararions in the .def file it is assuming
  19. that these are functions and not variables. Should I be doing anything differe
  20. nt or is it simply impossible to export global variables? By the way, I am compi
  21. ling and linking the DLL application using CSET/2 and LINK386.
  22.