home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 953 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.4 KB

  1. Path: sparky!uunet!pipex!unipalm!uknet!mcsun!sunic!seunet!his!anders
  2. From: anders@ipcsun2.his.se (Anders Eklund)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: DLL's written in C++ to ObjectVision
  5. Message-ID: <ANDERS.92Jul22155636@ipcsun2.his.se>
  6. Date: 22 Jul 92 13:56:36 GMT
  7. Sender: news@his.UUCP
  8. Distribution: comp.os.ms-windows.programmer.misc
  9. Organization: University of Skoevde
  10. Lines: 26
  11.  
  12.  
  13. Hi there!
  14.  
  15.   I have some problems to write DLL's to ObjectVision. If I write DLL
  16. in pure C, there are no troubles. If I try to write a DLL in C++,
  17. ObjectVision is unable to register the functions. The same thing happend
  18. when I used the C-code and compiled it in C++ mode. The code
  19. was very simple with a single extra exportable function, and the code
  20. compiled to a DLL just fine. Then I tried to tell the compiler that it
  21. was a C function by using extern "C" {...} and that did not help either.
  22. Has anyone any idea why it doesn't work, or should it work? Is there
  23. anything special with C++ DLL's? I'm using Borland C++ 3.0 & AF and
  24. ObjectVision 2.0.
  25.  
  26. I would appreciate any answer
  27.  
  28. --
  29.  
  30.  |\/\/\/|
  31.  |      |           -- Anders Eklund  anders@his.se --
  32.  |      |           -- Connectionist Research Group --
  33.  | (o)(o)           -- Computer Science  Department --
  34.  C      _)          -- University of Skovde, Sweden --
  35.   | ,___| 
  36.   |   /        Hi! I'm Bart Simpson, the ultimate sig virus.     
  37.   /---\      Just throw away your sig and copy this one instead. 
  38.