|
![](/i/fill.gif) |
>>
>> Show me the C++ code which performs loading of dynamically linked
>> libraries in any platform.
>
>
> Not on any. The platform has to support dynamic loading. If POVRay also
> compiles on plain old DOS than this feature will not be possible. But o
n
> all others:
>
>
> #ifdef WIN32
> LoadLibrary("foo.dll");
> #endif
>
> #ifdef LINUX
> dlopen("bar.so", some_mode );
> #endif
>
> #ifdef SOMEOTHEROS
> loadsoordllonthisosfunction("foo.bar");
> #endif
>
None of the variants is standard C++. And note you won't find any such
port to specific platforms in the POV-Ray core code - it is portable per
se because it complies with the standard and does not need to be ported.
Also note the #ifdef LINUX is incorrenct because only some of the
various flavours of Linux support this.
This whole thread is - like its predecessors - completely pointless
because it lacks examples what such a feature can be useful for that
won't be better solved with a different technique. I don't know any
(and don't come up with nonsense like 'controlling Excel from a POV-SDL
script').
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |