Erik Hentell
2004-05-22 05:06:01 UTC
Just out of curiousity...
Calling a C shared library in Mops seems straightforward enough, but I
was wondering about calling a C++ shared library. I haven't actually
tried it yet, but the question was burning a hole in my mind so I
thought I'd ask. What do you need to think about in order to
instantiate a class from an OO shared library? (C++ in particular
since C and C++ are so prevalent) Do you simply create a series of
equivalent classes in Mops, or do you just call the member functions
of a class as if it were a C library?
Just curious,
Erik
Calling a C shared library in Mops seems straightforward enough, but I
was wondering about calling a C++ shared library. I haven't actually
tried it yet, but the question was burning a hole in my mind so I
thought I'd ask. What do you need to think about in order to
instantiate a class from an OO shared library? (C++ in particular
since C and C++ are so prevalent) Do you simply create a series of
equivalent classes in Mops, or do you just call the member functions
of a class as if it were a C library?
Just curious,
Erik