Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Dynlink
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Warp <warplayer@f...>
Subject: Re: [Caml-list] Dynlink
> I'm trying to dynamicly link a  .cma library which contains externals
> references to a DLL.
> I'm setting (Dynlink.allow_unsafe_modules true) but it keeps me raise :
>
> error while linking mylib.cma.
> The external function '...' is not available.
>
> Although this function is available in the dll, it seems that Dynlink
> doesn't manage to load it.
> How can I do that ( tip : It's for plugin loading, so I don't want to have
> any ref to the DLL into my main build process )

Ok sorry (I fenceposted again :)
I forgot the -dllib flag at compile time.
No more need for answers.

Warp

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr