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